LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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
 
LinkBack Search this Thread
Old 11-29-2006, 12:08 AM   #1
rimfire
LQ Newbie
 
Registered: Nov 2006
Location: Sydney
Distribution: Fedora Core 5
Posts: 1

Rep: Reputation: 0
Unhappy Raid array resized - Cannot mount LVM - Fedora Core 5


Hi,

I have run aground and am wondering if my error is recoverable. This is my first post here.

I have a locally connected hardware raid controller (Adaptec 2410SA) which until yesterday was running quite happily in Raid 5 with 3 x 500G drives and a total capacity of 935GB. The array reports to the OS [FC5] as /dev/sdd.

Yesterday I extended the array by adding a fourth drive to increase the total capacity to 1.36TB. Now, perhaps unsurprisingly in hindsight, LVM won't mount the partition. The raid device is reporting as being in optimal state @ 1.36TB.

I thought when extending the array that I would still have a 935GB partition as far as linux was concerned with ~430GB of spare capacity on the array with which I could create another logical device in the raid controller which I intended to add to the LVM group.

My question is can I recover this LVM group or have I lost the data and need to start again (groan). The volume group in question is /dev/NewVolGroup/NewLV. The physical raid device is /dev/sdd

Some detail follows. I am out of my depth here so any thoughts welcome. Tom

[root@syd001 ~]# mount /dev/NewVolGroup/NewLV /newdir
mount: you must specify the filesystem type

[root@syd001 ~]# fdisk /dev/sdd
The number of cylinders for this disk is set to 121593.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/sdd: 1000.1 GB, 1000144371712 bytes
255 heads, 63 sectors/track, 121593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System

Command (m for help):


[root@syd001 ~]# pvscan
/dev/dm-2: read failed after 0 of 4096 at 1000135917568: Input/output error
/dev/dm-2: read failed after 0 of 4096 at 0: Input/output error
PV /dev/sdd VG NewVolGroup lvm2 [931.45 GB / 0 free]
PV /dev/hda2 VG VolGroup00 lvm2 [57.16 GB / 32.00 MB free]
Total: 2 [988.61 GB] / in use: 2 [988.61 GB] / in no VG: 0 [0 ]


[root@syd001 ~]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
57008372 3856672 50209136 8% /
/dev/hda1 102454 41016 56148 43% /boot
/dev/shm 257400 0 257400 0% /dev/shm
/dev/md0 153834788 92448004 53572372 64% /home


[root@syd001 ~]# tail /var/log/messages
Nov 29 15:59:41 syd001 kernel: Buffer I/O error on device dm-2, logical block 0
Nov 29 15:59:41 syd001 kernel: Buffer I/O error on device dm-2, logical block 1
Nov 29 15:59:41 syd001 kernel: Buffer I/O error on device dm-2, logical block 2
Nov 29 15:59:41 syd001 kernel: Buffer I/O error on device dm-2, logical block 3
Nov 29 15:59:41 syd001 kernel: scsi 2:0:0:0: rejecting I/O to dead device
Nov 29 15:59:41 syd001 kernel: Buffer I/O error on device dm-2, logical block 0
Nov 29 15:59:41 syd001 kernel: scsi 2:0:0:0: rejecting I/O to dead device
Nov 29 15:59:41 syd001 kernel: Buffer I/O error on device dm-2, logical block 244173823
Nov 29 15:59:41 syd001 kernel: scsi 2:0:0:0: rejecting I/O to dead device
Nov 29 15:59:41 syd001 kernel: Buffer I/O error on device dm-2, logical block 244173823
Nov 29 15:59:41 syd001 kernel: scsi 2:0:0:0: rejecting I/O to dead device
Nov 29 15:59:41 syd001 kernel: Buffer I/O error on device dm-2, logical block 0
Nov 29 15:59:41 syd001 kernel: scsi 2:0:0:0: rejecting I/O to dead device
Nov 29 15:59:41 syd001 kernel: Buffer I/O error on device dm-2, logical block 1
Nov 29 15:59:41 syd001 kernel: scsi 2:0:0:0: rejecting I/O to dead device
Nov 29 15:59:41 syd001 kernel: Buffer I/O error on device dm-2, logical block 2
Nov 29 15:59:41 syd001 kernel: scsi 2:0:0:0: rejecting I/O to dead device


[root@syd001 ~]# /etc/fstab
dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
/dev/devpts /dev/pts devpts gid=5,mode=620 0 0
/dev/shm /dev/shm tmpfs defaults 0 0
/dev/proc /proc proc defaults 0 0
/dev/sys /sys sysfs defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
/dev/md0 /home ext3 rw,nosuid 0 0
/dev/NewVolGroup/NewLV /newdir ext3 rw,nosuid 0 0


[root@syd001 ~]# pvs -a
/dev/dm-2: read failed after 0 of 4096 at 1000135917568: Input/output error
/dev/dm-2: read failed after 0 of 4096 at 0: Input/output error
/dev/dm-2: read failed after 0 of 4096 at 0: Input/output error
PV VG Fmt Attr PSize PFree
/dev/dm-0 -- 0 0
/dev/dm-1 -- 0 0
/dev/dm-2 -- 0 0
/dev/hda1 -- 0 0
/dev/hda2 VolGroup00 lvm2 a- 57.16G 32.00M
/dev/md0 -- 0 0
/dev/ram -- 0 0
/dev/ram10 -- 0 0
/dev/ram11 -- 0 0
/dev/ram12 -- 0 0
/dev/ram13 -- 0 0
/dev/ram14 -- 0 0
/dev/ram15 -- 0 0
/dev/ram2 -- 0 0
/dev/ram3 -- 0 0
/dev/ram4 -- 0 0
/dev/ram5 -- 0 0
/dev/ram6 -- 0 0
/dev/ram7 -- 0 0
/dev/ram8 -- 0 0
/dev/ram9 -- 0 0
/dev/ramdisk -- 0 0
/dev/sdd NewVolGroup lvm2 a- 931.45G 0


[root@syd001 ~]# lvs -a
/dev/dm-2: read failed after 0 of 4096 at 0: Input/output error
LV VG Attr LSize Origin Snap% Move Log Copy%
NewLV NewVolGroup -wi-a- 931.45G
LogVol00 VolGroup00 -wi-ao 56.12G
LogVol01 VolGroup00 -wi-ao 1.00G
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mount windows raid array psirek Linux - Desktop 0 10-04-2006 06:28 PM
Partitioning RAID Array. LVM? parted? peripatetic Red Hat 2 08-25-2006 12:15 AM
Unable to Mount NTFS RAID O Array lpboarder23 Suse/Novell 1 03-14-2006 04:29 PM
Fedora Core 4 Not Recognizing Raid 0 Array farmerjoe Linux - General 1 09-07-2005 08:05 PM
Fedora Core 4 wont "see" my Promise Fastrak 378 IDE-RAID array as one drive. Justinr999 Linux - Hardware 0 07-19-2005 01:30 AM


All times are GMT -5. The time now is 11:22 AM.

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