LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-11-2006, 06:21 PM   #1
zdenisl
Member
 
Registered: Nov 2005
Distribution: CentOS-4
Posts: 41

Rep: Reputation: 15
LVM - possible data loss


I'm running RH 2.4 kernel. LVM 1.0.3

volume group: /dev/ramairVG
logical volume: /dev/ramairVG/lvhome
physical volume: /dev/md1
/dev/md1 is raid1 of 2 IDE 250GB drives.
/home is used as a samba share for a couple of WinXP.

My /home fs is at 89% so I wanted to extend it. I have about 150GB of unallocated space in the VG.

I tried to unmount /home but I got device busy. I issued umount -l /home and it was unmounted.


lvextend -L50G /dev/ramairVG/lvhome ** I forgot the +50G
resize2fs /dev/ramairVG/lvhome - FAILED
Said to run e2fsck -f /dev/ramairVG/lvhome - WARNINGS!

Here's some of my console:
Code:
[root@RAMAIR home]# umount /home
umount: /home: device is busy
[root@RAMAIR home]# umount -l /home
[root@RAMAIR home]# e2fsck -f /dev/ramairVG/lvhome
e2fsck 1.32 (09-Nov-2002)
Group descriptors look bad... trying backup blocks...
Block bitmap for group 128 is not in group.  (block 2553887680)
Relocate<y>? yes
 
Inode bitmap for group 128 is not in group.  (block 33554432)
Relocate<y>? yes
 
Inode table for group 128 is not in group.  (block 2329411584)
WARNING: SEVERE DATA LOSS POSSIBLE.
Relocate<y>? no
I ctrl-C out an this message cancels up to "group 255"

Help! I'm scared.

Last edited by zdenisl; 05-11-2006 at 06:24 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Partition without Data Loss SirJinX Linux - Software 9 08-26-2006 12:25 AM
PDA data loss jollyjoice Linux - Hardware 0 03-20-2006 12:54 PM
Resize Reiser without data loss dlublink Linux - Hardware 2 05-18-2005 04:46 PM
help prevent DATA LOSS! coolblue Linux - Newbie 2 03-14-2005 05:16 AM
Help!! loss of data transfer cabinetcrafter Mandriva 0 05-15-2004 10:42 PM


All times are GMT -5. The time now is 12:21 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration