Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: brianr on July 20, 2006, 11:10:30 AM

Title: Mounting one of the raid discs via a USB caddy
Post by: brianr on July 20, 2006, 11:10:30 AM
I am trying to mount a hard disc that has been created as one of a raid pair, by putting it into a USB caddy.

The system I am mounting and the original system are both identical SME7 installs with no extras.

On boot up the kernel sees both partions as sda1 and sda2, and I create mount points for each of them, but it will only allow me to mount sda1 (which appears to be the boot partition).  Mounting sda2 gives me this:

Code: [Select]

root@testserver ~]# mount -t ext3 /dev/sda2 /media/usbdisk2
mount: wrong fs type, bad option, bad superblock on /dev/sda2,
       or too many mounted file systems


Is this to do with the logical volume stuff?

Predictably it is the partition with the data that I want!!

fdisk shows the two partitions fine.

Code: [Select]

Disk /dev/sda: 122.9 GB, 122942324736 bytes
255 heads, 63 sectors/track, 14946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104391   fd  Linux raid autodetect
/dev/sda2              14       14946   119949322+  fd  Linux raid autodetect


 Any ideas?
Title: Mounting one of the raid discs via a USB caddy
Post by: icpix on July 21, 2006, 02:55:49 PM
Brian----
Use Knoppix?
----best wishes, Robert
Title: Mounting one of the raid discs via a USB caddy
Post by: brianr on July 21, 2006, 04:01:04 PM
I agree that knoppix is wonderful, but I need to do an "rSME estore" from the data that is on the HD.

Actually trying knoppix might give me a handle on the problem..
Title: Mounting one of the raid discs via a USB caddy
Post by: duncan on July 21, 2006, 05:13:01 PM
Using Knoppix or some other rescue disk

Code: [Select]
mount /dev/mapper/main-root /someplace/somewhere

I have no idea if this can be done on a raid setup since the device already exists and is mounted.