how to mount RAID partician


 
Thread Tools Search this Thread
Special Forums Hardware Filesystems, Disks and Memory how to mount RAID partician
# 1  
Old 03-25-2011
how to mount RAID partician

Hello All,

I need to mount below harddisk.I try with mount /dev/sdb /mnt/external2 But unable to mount.Error in "device is busy".How to mount /dev/sdb fully.Any other option.please advice

Code:
Disk /dev/sdb: 250.0 GB, 250000000000 bytes
255 heads, 63 sectors/track, 30394 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1         131     1052226   fd  Linux raid autodetect
/dev/sdb2             132        8608    68091502+  fd  Linux raid autodetect
/dev/sdb3            8609       17085    68091502+  fd  Linux raid autodetect
/dev/sdb4           17086       30394   106904542+   5  Extended
/dev/sdb5           17086       25562    68091471   fd  Linux raid autodetect
/dev/sdb6           25563       26476     7341673+  fd  Linux raid autodetect
/dev/sdb7           26477       27390     7341673+  fd  Linux raid autodetect
/dev/sdb8           27391       28304     7341673+  fd  Linux raid autodetect
/dev/sdb9           28305       29087     6289416   fd  Linux raid autodetect
/dev/sdb10          29088       29609     4192933+  fd  Linux raid autodetect
/dev/sdb11          29610       30131     4192933+  fd  Linux raid autodetect
/dev/sdb12          30132       30132        8001   8e  Linux LVM
/dev/sdb13          30133       30263     1052226   fd  Linux raid autodetect
/dev/sdb14          30264       30394     1052226   fd  Linux raid autodetect


Last edited by pludi; 03-25-2011 at 07:12 PM..
# 2  
Old 03-25-2011
/dev/sdb is the entire disk, you can't mount an entire disk unless the entire disk is just one partition.

What kind of RAID is it? Is it a software raid? You may not be able to mount it until you activate it with mdadm, in which case it'll become a new device, /dev/md*.

Maybe it's activated itself already. That would explain why it thinks it's busy -- it's been "eaten" by the software RAID driver. Try ls -l /dev/md* to see if you have any software RAID devices available. And df -h for good measure to see what devices you already have mounted where.
This User Gave Thanks to Corona688 For This Post:
# 3  
Old 03-28-2011
i just need the data from sdb..

Dear Corona688,

As you told we tried for each..
it shows error like..
Code:
~]# mount /dev/sdb5 /mnt/Mirror/sdbAll
mount: /dev/sdb5 already mounted or /mnt/Mirror/sdbAll busy

but
Code:
~]# umount /dev/sdb5
umount: /dev/sdb5: not mounted

~]# mdadm --detail /dev/md0
mdadm: md device /dev/md0 does not appear to be active.
~]# cat /proc/mdstat
Personalities : [raid1] [raid0]
md11 : active raid1 sdb2[0]
      68091392 blocks [2/1] [U_]

md10 : active raid1 sdb3[0]
      68091392 blocks [2/1] [U_]

md8 : active raid1 sdb5[0]
      68091392 blocks [2/1] [U_]

md6 : active raid1 sdb6[0]
      7341568 blocks [2/1] [U_]
...
... for all.
unused devices: <none>

 ~]# mount   <<--- sdb not yet mounted.
/dev/sda2 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda13 on /home type ext3 (rw)
/dev/sda11 on /opt type ext3 (rw)
/dev/sda10 on /tmp type ext3 (rw)
/dev/sda9 on /usr type ext3 (rw)
/dev/sda12 on /usr/local type ext3 (rw)
/dev/sda8 on /var type ext3 (rw)
/dev/sda14 on /var/files type ext3 (rw)
/dev/sda6 on /var/myfolder type ext3 (rw)
/dev/sda5 on /var/data1 type ext3 (rw)
/dev/sda3 on /var/intofolder type ext3 (rw)
/dev/sda1 on /boot type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
/dev/sdc on /mnt/external type ext3 (rw)

i got this info by viewing : linuxquestions.org - questions - linux-software-2/why-cant-i-mount-this-md0-raid-mdadm-and-software-raid-345232/ Why can't I mount this md0 raid? (mdadm and software raid)

My only Need is :: To get all data in "sdb" to be accessible
No problem if it comes in one directory or different directory.

Last edited by Scott; 03-28-2011 at 12:14 PM.. Reason: Use code tags, please...
# 4  
Old 03-28-2011
Quote:
Originally Posted by kpoobathi
Dear Corona688,

As you told we tried for each..
it shows error like..

~]# mount /dev/sdb5 /mnt/Mirror/sdbAll
mount: /dev/sdb5 already mounted or /mnt/Mirror/sdbAll busy
That's not quite what I told you. Smilie

I think this is a software RAID. You'll have to use the md* devices.
Quote:
# cat /proc/mdstat
Personalities : [raid1] [raid0]
md11 : active raid1 sdb2[0]
68091392 blocks [2/1] [U_]

md10 : active raid1 sdb3[0]
68091392 blocks [2/1] [U_]

md8 : active raid1 sdb5[0]
68091392 blocks [2/1] [U_]

md6 : active raid1 sdb6[0]
7341568 blocks [2/1] [U_]
...
... for all.
unused devices: <none>
There you go. The software RAID is active, and that is why you can't use the raw /dev/sdb* devices. The MD driver has taken them over and provided md* devices in their place. sdb6 is available as md6, sdb5 is available as md8, etc, etc. Either it was setup this way from the start, or the system autodetected the RAID partitions and turned them into md devices for you.

You still can't use it all as one giant thing -- it never was one giant thing. But you should be able to mount these md1,md2,... devices individually.

Half the RAID seems to be missing, but since this was a mirror, it fortunately still works.

Since you didn't post the entire, unaltered output of mdstat I can't tell you where to mount which in what order.

Last edited by Corona688; 03-28-2011 at 12:16 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. UNIX for Advanced & Expert Users

mount -t cifs permission denied by mount -t smbfs works fine

I am having trouble mounting with cifs, but mounting the exact same command with smbfs works fine. The share is on another samba server and is set to full public guest access. # mount -t cifs //servername/sharename /mnt/temp -o password="" mount error 13 = Permission denied Refer to the... (3 Replies)
Discussion started by: humbletech99
3 Replies

8. Solaris

RAID 5 mount points don't automount on boot

Hi, I set up a RAID 5 configuration and for some reason the volumes won't mount when the system boots. I have to manually mount them from the command line and all is fine. Here's the vfstab entries: #device device mount FS fsck mount mount #to mount ... (2 Replies)
Discussion started by: rpollard001
2 Replies

9. UNIX for Dummies Questions & Answers

how to mount a hotswap scsi drive on a solaris 2.6 netra box using the mount command?

Hi... question is this: How do I mount an LVD hotswap scsi drive in bay #2 on a netra using the mount command? volmgt doesn't seem to mount it and/or I don't know how to view the drives data if it's formatted which it may not be. This drive is not new out of the box so I'm not sure. ... (4 Replies)
Discussion started by: soulshaker
4 Replies
Login or Register to Ask a Question