Sponsored Content
Full Discussion: Reconstructing RAID
Special Forums Hardware Filesystems, Disks and Memory Reconstructing RAID Post 302695913 by Lem on Tuesday 4th of September 2012 05:07:31 AM
Old 09-04-2012
From what I've been reading about those ShareSpace devices, there should be an LVM2 volume, indeed, on top of the raid. So you should find it, and then mount it. If things are like that, of course you cannot mount the raid volume itself, because it doesn't have a filesystem on it. But you didn't find the lvm2 volume, when running vgscan, so I don't have good feelings... Smilie

Since you've used --force to reassemble the raid (instead of only --run), now the raid is active, but it could nonetheless be corrupted:

(from mdadm manual)
Quote:
-f, --force
Assemble the array even if the metadata on some devices appears to be out-of-date.
If mdadm cannot find enough working devices to start the array, but can find some
devices that are recorded as having failed, then it will mark those devices as
working so that the array can be started. An array which requires --force to be
started may contain data corruption. Use it carefully.

-R, --run
Attempt to start the array even if fewer drives were given than were present last
time the array was active. Normally if not all the expected drives are found and
--scan is not used, then the array will be assembled but not started. With --run
an attempt will be made to start it anyway.
Let's made another attempt, manually inspecting the beginning of /dev/md2:

Code:
# dd if=/dev/md2 bs=512 count=255 skip=1 of=/tmp/md2lvm
# less /tmp/md2lvm

(Better than less, use a text editor of your choice).

Among binary data, do you see some LVM metadata declarations? Can you find the most recent one? Or there's nothing useful?
--
Bye
This User Gave Thanks to Lem For This Post:
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

reconstructing a record in a diffrent order

Can sed be used to take a existing record and reverse the order of defined character placement if there is no delimeters? existing record: 0123456789CO expected result: 9876543210CO if there were delimeters I could define the delimeter and each placement would have an id which I... (1 Reply)
Discussion started by: r1500
1 Replies

2. UNIX for Dummies Questions & Answers

regarding raid

Hello, I am aware that our system has two hard drives with raid but i'm not sure as to the type of raid the system uses. I tried this. # df Filesystem 512-blocks Free %Used Iused %Iused Mounted on /dev/hd4 229376 76272 67% 6748 12% / /dev/hd2 3080192... (1 Reply)
Discussion started by: h1timmboy
1 Replies

3. UNIX for Dummies Questions & Answers

RAID software vs hardware RAID

Hi Can someone tell me what are the differences between software and hardware raid ? thx for help. (2 Replies)
Discussion started by: presul
2 Replies

4. Solaris

implementing RAID 1 from RAID 5

Dear ALl, I have a RAID 5 volume which is as below d120 r 60GB c1t2d0s5 c1t3d0s5 c1t4d0s5 c1t5d0s5 d7 r 99GB c1t2d0s0 c1t3d0s0 c1t4d0s0 c1t5d0s0 d110 r 99GB c1t2d0s4 c1t3d0s4 c1t4d0s4 c1t5d0s4 d8 r 99GB c1t2d0s1 c1t3d0s1... (2 Replies)
Discussion started by: jegaraman
2 Replies

5. Solaris

Creation of Raid 01 and Raid 10

Hello All, I have read enough of texts on Raid 01 and Raid 10 on solaris :wall: . But no-where found a way to create them using SVM. Some one pls tell me how to do or Post some link if that helps. TIA Curious solarister (1 Reply)
Discussion started by: Solarister
1 Replies

6. AIX

SCSI PCI - X RAID Controller card RAID 5 AIX Disks disappeared

Hello, I have a scsi pci x raid controller card on which I had created a disk array of 3 disks when I type lspv ; I used to see 3 physical disks ( two local disks and one raid 5 disk ) suddenly the raid 5 disk array disappeared ; so the hardware engineer thought the problem was with SCSI... (0 Replies)
Discussion started by: filosophizer
0 Replies

7. UNIX for Dummies Questions & Answers

Need help with RAID.

Hi Gurus, Can any one explain me the difference between hardware RAID and s/w RAID. Thanks in Advance. (1 Reply)
Discussion started by: rama krishna
1 Replies

8. Solaris

Software RAID on top of Hardware RAID

Server Model: T5120 with 146G x4 disks. OS: Solaris 10 - installed on c1t0d0. Plan to use software raid (veritas volume mgr) on c1t2d0 disk. After format and label the disk, still not able to detect using vxdiskadm. Question: Should I remove the hardware raid on c1t2d0 first? My... (4 Replies)
Discussion started by: KhawHL
4 Replies

9. Red Hat

RAID Configuration for IBM Serveraid-7k SCSI RAID Controller

Hello, I want to delete a RAID configuration an old server has. Since i haven't the chance to work with the specific raid controller in the past can you please help me how to perform the configuraiton? I downloaded IBM ServeRAID Support CD but i wasn't able to configure the video card so i... (0 Replies)
Discussion started by: @dagio
0 Replies
VGSCAN(8)						      System Manager's Manual							 VGSCAN(8)

NAME
vgscan - scan all disks for volume groups and build /etc/lvmtab and /etc/lvmtab.d/* which are the database for all other lvm commands. SYNOPSIS
vgscan [-d|--debug] [-f|--forcenumbers] [-h|--help] [-r|--remove_snapshots [VolumeGroupName]] [-v|--verbose] DESCRIPTION
vgscan scans all SCSI, (E)IDE disks, multiple devices and a bunch of other disk devives in the system for volume groups defined. OPTIONS -d, --debug Enables additional debugging output (if compiled with DEBUG). -f, --forcenumbers If used volume group and/or logical volume minor numbers are found during scan, replace them. This will potentially cause problems for NFS exported filesystems on logical volumes with changed numbers. -h, --help Print a usage message on standard output and exit successfully. -r, --remove_snapshots [VolumeGroupName] Remove all snapshot logical volumes from all or just the named volume group. -v, --verbose Display verbose information of vgscan's activities. Hint Put vgscan in one of your system startup scripts. This gives you an actual logical volume manager database before activating all volume groups by doing a "vgchange -ay". DIAGNOSTICS
vgscan returns an exit code of 0 for success and > 0 for error: 1 error reading physical volumes 2 error inserting vokume group name into lvmtab 3 no volume group(s) found 4 error creating lvmtab 5 no or not enough free device specials to store volume group in lvmtab 6 error storing VGDA on disk(s) 7 reused LV device number 8 error releasing snapshot logical volume 95 driver/module not in kernel 96 invalid I/O protocol version 97 error locking logical volume manager 99 invalid command line See also lvm(8), vgcreate(8), vgchange(8) AUTHOR
Heinz Mauelshagen <Linux-LVM@Sistina.com> Heinz Mauelshagen LVM TOOLS VGSCAN(8)
All times are GMT -4. The time now is 09:08 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy