VMware Cloud Community
zbarnard
Contributor
Contributor

remount / as rw on esxi5.0

is it possible to remount the filesystem as read/write?

i thought i could do something like:

# mount / -o remount,rw

-sh: mount: not found

not sure what the mount command is in esxi5.0

trying to work around the following:

/dev/disks # partedUtil getptbl "/vmfs/devices/disks/mpx.vmhba32:C0:T0:L0:2"
msdos
1831 255 63 29429548


/dev/disks # partedUtil getptbl "/vmfs/devices/disks/mpx.vmhba32:C0:T0:L0" 
gpt
1946 255 63 31277056
1 64 8191 C12A7328F81F11D2BA4B00A0C93EC93B systemPartition 128
5 8224 520191 EBD0A0A2B9E5443387C068B6B72699C7 linuxNative 0
6 520224 1032191 EBD0A0A2B9E5443387C068B6B72699C7 linuxNative 0
7 1032224 1257471 9D27538040AD11DBBF97000C2911D1B8 vmkDiagnostic 0
8 1257504 1843199 EBD0A0A2B9E5443387C068B6B72699C7 linuxNative 0
2 1847475 31277022 EBD0A0A2B9E5443387C068B6B72699C7 linuxNative 0

/dev/disks # partedUtil setptbl "/vmfs/devices/disks/mpx.vmhba32:C0:T0:L0" gpt "2 1847475 31277022  AA31E02A400F11DB9590000C2911D1B8 0"
gpt
0 0 0 0
2 1847475 31277022 AA31E02A400F11DB9590000C2911D1B8 0
Error: Read-only file system during write on /dev/disks/mpx.vmhba32:C0:T0:L0
SetPtableGpt: Unable to commit to disk

0 Kudos
2 Replies
Virtualinfra
Commander
Commander

remount is possible did you try esxcfg-volume -l

and esxcfg-volume -M <uuid>.

Thanks & Regards Dharshan S VCP 4.0,VTSP 5.0, VCP 5.0
0 Kudos
zbarnard
Contributor
Contributor

yeah cant get it working.. its the boot usb drive and i think that is why... will find an alternate solution.

0 Kudos