Results 1 to 3 of 3
Hi
While using LVM GUI (SLES10 SP2) I accentually increased the size of /opt to 160GB, when I tried to reduce it , I got an error message stating you ...
- 08-21-2009 #1Just Joined!
- Join Date
- Jan 2008
- Posts
- 4
damaged /opt need to repair it manually :(
Hi
While using LVM GUI (SLES10 SP2) I accentually increased the size of /opt to 160GB, when I tried to reduce it , I got an error message stating you could not reduce /opt as it was mounted, So
I uncounted /opt using umount –l, but some the LVM GUI stopped working, (obviously using something in /opt) so I rebooted then opened up a ssh session from my desktop, umounted /opt with umount –l /opt the ran the following to reduce the size of /opt
# resize_reiserfs -s-8G /dev/system/opt
# lvreduce -L-8G /dev/system/opt
# mount –t reiserfs /dev/system/opt /opt
I rebooted but could not get the GUI to load, when I got the the following message “ Fsck failed for at least one filesystem
(not /)Please Repair manually”
I have obviously damaged /opt, is their a way I can boot up using the rescue disk and copy /opt on the rescue disk to replace the /opt which I have damaged??
I am fairly new to all this so I am stuck big time.
Thanks in advance
- 08-22-2009 #2Linux User
- Join Date
- Sep 2008
- Location
- UK
- Posts
- 353
Have you tried doing just what the error msg says and running fsck manually?
The command is:
fsck /dev/opt-partiton
where opt-partiton is the name of the /opt partiton (sda(or b)1,2,3 or hda(or b) etc).
If you do fsck --help it will give you the syntax.
If the system doesn't boot to a recovery mode, you should be able to use any live dvd to do it.
- 08-22-2009 #3
I think it would be handy to know exactly how you are partitioned?
as root
fdisk -l
post results
also the results of
mount
might be handy


Reply With Quote