My account: Login | Sign Up
Loading...

Help! I botched LVM and botched most of system!!! - LinuxQuestions.org | Thread profile

Thread profile page for "Help! I botched LVM and botched most of system!!! - LinuxQuestions.org" on http://www.linuxquestions.org. This report page is a snippet summary view from a single thread "Help! I botched LVM and botched most of system!!! - LinuxQuestions.org", located on the Message Board at http://www.linuxquestions.org. This thread profile page shows the thread statistics for: Total Authors, Total Thread Posts, and Thread Activity, which are reported in a table below. Additional thread profile information is also shown in the following ways:

1) Top Contributing Authors
2) Related Threads on "eBay Auctions"
3) Related Threads on Other Sites

Warning: These statistics are generated using 'best efforts' and can experience delays and reporting errors at times. Please note that such statistics do not constitute a thread's popularity and/or exact posting volumes at any given reporting period.

Title: Help! I botched LVM and botched most of system!!! - LinuxQuestions.org
Site: LinuxQuestions.org - where Linux users come for help  LinuxQuestions.org - where Linux users come for help - site profile
Forum: Linux - Newbie  Linux - Newbie - forum profile
Total authors: 4 authors
Total thread posts: 8 posts
Thread activity: no new posts during last week
Domain info for: linuxquestions.org

Thread posts in Help! I botched LVM and botched most of system!!! - LinuxQuestions.org:

1. 
Started 8 months ago (2008-01-05 18:46:00)  by Labyrinth
I feel awful... I was trying to install picasa, but my /opt wasn't large enough. There was no logical volume for it like most of my other partitions (default debian etch lvm non-encrypted scheme w/ home, var, and others on lvm). First I did Code: lvreduce -L1G /dev/<lvgname>/var to reduce the var by 500 megs since it was not using anywhere near that much. Next I did...
Size: 2,362 bytes
Customize:  Customize "Help! I botched LVM and botched most of system!!! - LinuxQuestions.org :: Linux - Newbie :: LinuxQuestions.org - where Linux users come for he..."
2. 
Started 8 months ago (2008-01-05 20:34:00)  by Agrouf
did you resize2fs /var?
Size: 62 bytes
Customize:  Customize "<b>Reply 1</b>: Help! I botched LVM and botched most of system!!! - LinuxQuestions.org :: Linux - Newbie :: LinuxQuestions.org - where Linux users come for he..."
3. 
Started 8 months ago (2008-01-06 01:22:00)  by syg00
More importantly, did you resize the filesystem first ... as in *first* ???. Setting the lv back to the original size might work, but you'll always be worried something was written over.
Size: 250 bytes
Customize:  Customize "<b>Reply 2</b>: Help! I botched LVM and botched most of system!!! - LinuxQuestions.org :: Linux - Newbie :: LinuxQuestions.org - where Linux users come for he..."
4. 
Started 8 months ago (2008-01-06 16:55:00)  by Labyrinth
I'm unclear on what you mean by first, but I have already been using this comp w/ debian for a few months. Important stuff is backed up. So yes, the /var was in use by syslog and anything else that needs /var when I reduced the size. I thought I could reduce the size safely since it was 1.5G and I reduced it to 1G. Not even half was used, so I thought it was safe to reduce it by 500M. ...
Size: 1,336 bytes
Customize:  Customize "<b>Reply 3</b>: Help! I botched LVM and botched most of system!!! - LinuxQuestions.org :: Linux - Newbie :: LinuxQuestions.org - where Linux users come for he..."
5. 
Started 8 months ago (2008-01-06 20:07:00)  by Labyrinth
I tried retracing my steps by doing: Code: lvremove /dev/<lvgname>/opt lvextend -L500M /dev/<lvgname>/var but I got an even scarier error showing numbers to the effect that the size of the var partition is bigger than it actually is, and that the partition tables may be corrupt etc. I just reduced the size back to 1G and it is now back to the crippled, but bootable state. When it...
Size: 923 bytes
Customize:  Customize "<b>Reply 4</b>: Help! I botched LVM and botched most of system!!! - LinuxQuestions.org :: Linux - Newbie :: LinuxQuestions.org - where Linux users come for he..."
6. 
Started 8 months ago (2008-01-07 04:47:00)  by Labyrinth
Someone in irc was helping me with this problem, and now I understand that I needed to make the filesystem smaller before I reduced the logical volume. Supposedly it's like deciding to shorten your bed by 3 feet, but missing the crucial idea that if you are in the bed, you should move your legs back 3 feet before chopping the bed down--otherwise you lose your legs. Here I chopped off the ...
Size: 734 bytes
Customize:  Customize "<b>Reply 5</b>: Help! I botched LVM and botched most of system!!! - LinuxQuestions.org :: Linux - Newbie :: LinuxQuestions.org - where Linux users come for he..."
7. 
Started 8 months ago (2008-01-07 05:27:00)  by Labyrinth
JACKPOT!!! I finally got it working. This ubuntu link gave me the final clue I needed. My problem was that I needed to get the logical volume holding var back to its original size before I could fsck and get it where the system would not mount it read-only (and be able to find all the old data). So in short, Code: mke2fs -n /dev/mapper/<vgname>-var (gave the name of where the ...
Size: 1,470 bytes
Customize:  Customize "<b>Reply 6</b>: Help! I botched LVM and botched most of system!!! - LinuxQuestions.org :: Linux - Newbie :: LinuxQuestions.org - where Linux users come for he..."
8. 
Started 8 months ago (2008-01-08 10:50:00)  by LlNUX
http://www.linuxconfig.org/Linux_lvm...Volume_Mana ger
Size: 186 bytes
Customize:  Customize "<b>Reply 7</b>: Help! I botched LVM and botched most of system!!! - LinuxQuestions.org :: Linux - Newbie :: LinuxQuestions.org - where Linux users come for he..."
 

Top contributing authors for Help! I botched LVM and botched most of system!!! - LinuxQuestions.org

Name Posts
Labyrinth 5
Agrouf 1
syg00 1
LlNUX 1