growfs in the days before umount -f

From: D G Teed (donald.teed@gmail.com)
Date: Thu Dec 07 2006 - 07:26:45 EST


Hi,

I have a problem with growfs in Solaris 6 sparc. Where we
once had a software mirrored pair of 4 striped drives giving us 8 GB,
we now have a mirrored pair of 33GB drives. I want to use:
'growfs -M /d /dev/md/rdsk/d6'
to grow the file system.

In my prior experience with 'growfs', I needed to restart the
system so that nothing had locks on the mounted meta device.

Today I tried 'growfs' while in single user mode following a reboot,
and it did not grow the file system. In prior experience with the
growfs command, it seems that if the last inode is
printed with a comma following it, then it has
not worked. 'df' confirms that it has not grown the FS.

I prior experience, I would try 'umount' of the device,
'mount' it again and then 'growfs'. The problem is that
'umount' reports the device is busy and will not un-mount.
Both before and after the reboot, I had tried 'growfs'
while 'lsof' was clear of anything to report on /d
Likewise 'fuser' was clean. I would do 'umount -f'
but this version of Solaris didn't support it.

Does anyone have any tips on how I can find what is
making the mount seem busy, or otherwise how I can
grow my file system short of making a new one and
copying everything over?

--Donald
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:41:18 EDT