vxresize - instead of ufs, I have given vxfs
Dear all,
I have the resize the FS in that I made a mistake. The below are the commmands I have executed
fstyp /dev/vx/dsk/ua1195dg/duo1290p-oradata-fs
ufs
vxresize -g ua1195dg -F vxfs -x duo1290p-oradata-fs +100g // I have mistakenly resized the FS as ( -F vxfs )
The FS got increased without any error and data started storing.
1) Hence in this case, I have to do anything ?
2) It will affect the FS while rebooting ?
Any suggestion please
Hi
Not seen that done before, but it appears to have actually used the UFS grow operation, even though you used the vxfs switch. I ran a trivial similar test and it also appears to have grown the FS. I also ran a truss to look for the the mkfs commands(notice its using ufs paths):
boo# vxassist -g testdg make tony1 100m
boo# newfs /dev/vx/rdsk/testdg/tony1
boo# mount -Fufs /dev/vx/dsk/testdg/tony1 /tony1
boo# df -k /tony1
Filesystem kbytes used avail capacity Mounted on
/dev/vx/dsk/testdg/tony1
95551 1041 84955 2% /tony1boo# truss -failed -o /tmp/truss vxresize -g testdg -Fvxfs -x tony1 +100m
boo# df -k /tony1
Filesystem kbytes used avail capacity Mounted on
/dev/vx/dsk/testdg/tony1
192095 1041 181499 1% /tony1boo# grep mkfs /tmp/truss
26310/1: /usr/lib/fs/ufs/mkfs -M "/tony1" "/dev/vx/rdsk/testdg/tony1" "409600" 2>&1
26312/1: 0.8867 execve("/usr/lib/fs/ufs/mkfs", 0x0003A7B4, 0x0003A7D0) argc = 5
26312/1: argv: /usr/lib/fs/ufs/mkfs -M /tony1 /dev/vx/rdsk/testdg/tony1
26312/1: 0.8880 resolvepath("/usr/lib/fs/ufs/mkfs", "/usr/lib/fs/ufs/mkfs", 1023) = 20
26312/1: 0.8881 stat64("/usr/lib/fs/ufs/mkfs", 0xFFBFF8F0) = 0As a precaution you may want to take a backup of the file system