On Tue, 2005-03-15 at 22:10 -0600, Jon Nelson wrote:
> I resized two logical volumes with lvextend, and then ran:
> 
> mount -o remount,resize /dev/NAMEOFVG/NAMEOFLV
> for each logical volume.
> One was /opt and the other was /jb
> 
> I used each for a while, seemingly without problem.
> I rebooted to add new hardware, and both volumes showed major damage.
> /opt kept saying that it couldn't be mounted because it already /was 
> mounted.  I manually unmouted it and fsck.jfs *still* said it was 
> mounted (neither mount nor /proc/mounts showed it mounted).  /jb had 
> contents similar to /opt, and /opt had contents similar to / ('root')!
> I tried various things, including using a rescue disk (SuSE 9.2 rescue 
> CD), and both volumes checked out fine, but showed inconsistent 
> filesystem contents to what I expected.  All in all, after about an 
> hour, I just gave up, removed the logical volumes and recreated them, 
> and went on my way.

This sounds as if the volumes got renamed somehow.  Your system would
think that /opt was already mounted, if / was using whatever volume /opt
is assigned in /etc/fstab.  That would be consistent with the contents
of /opt looking like /.

> This is SuSE 9.2 with all updates, etc...
> 
> This isn't the first time I've had some funky issues with resizing and 
> jfs.

I'm not sure that resizing had anything to do with it.

-- 
David Kleikamp
IBM Linux Technology Center



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Jfs-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jfs-discussion

Reply via email to