LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Trying to mount RAID0 NTFS filesystem (https://www.linuxquestions.org/questions/linux-hardware-18/trying-to-mount-raid0-ntfs-filesystem-670330/)

elemings 09-16-2008 03:07 PM

Trying to mount RAID0 NTFS filesystem
 
I have a Sony laptop that uses an ICH8 raid controller. The two internal drives in a RAID0 configuration already have a full Windows install on them and it boots into Windows just fine. I'm trying to simply mount the filesystem after booting into Linux with a live CD.

When I do an 'fdisk -l', I get the following:

Code:

    Disk /dev/sda doesn't contain a valid partition table

    Disk /dev/sda: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes


    Disk /dev/sdb: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

        Device Boot      Start        End      Blocks  Id  System
    /dev/sdb1              1        1182    9487360  27  Unknown
    /dev/sdb2  *        1182      38914  303087616    7  HPFS/NTFS

    Disk /dev/sdc: 250.0 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

        Device Boot      Start        End      Blocks  Id  System
    /dev/sdc1              1      30401  244196001    7  HPFS/NTFS

(/dev/sdc is an external drive. Ignore it.)

If I activate the array using `dmraid -v -ay, I get the following:

Code:

    INFO: Activating GROUP RAID set "isw_cjidhfdda"
    INFO: Activating partition RAID set "isw_cjidhfdda_Volume01"
    INFO: Activating partition RAID set "isw_cjidhfdda_Volume02"

I do an 'ls -al /dev/mapper' just to check:

Code:

    total 0
    drwxr-xr-x  2 root root    120 Sep 16 13:54 ./
    drwxr-xr-x 15 root root  14600 Sep 16 13:54 ../
    crw-rw----  1 root root  10, 62 Sep 16 07:14 control
    brw-r-----  1 root disk 253,  0 Sep 16 13:54 isw_cjidhfdda_Volume0
    brw-r-----  1 root disk 253,  1 Sep 16 13:54 isw_cjidhfdda_Volume01
    brw-r-----  1 root disk 253,  2 Sep 16 13:54 isw_cjidhfdda_Volume02

Then I try to mount the partitions using a little for loop, I get this (which makes no sense):

Code:

    mount: /dev/mapper/isw_cjidhfdda_Volume0 already mounted or  /mnt/isw_cjidhfdda_Volume0 busy
And a `df -k' gets me this:

Code:

    Filesystem          1K-blocks      Used Available Use% Mounted on
    aufs                    540868      2992    537876  1% /
    /dev/sdc1            244196000  29780372 214415628  13% /mnt/sdc1
    /dev/mapper/isw_cjidhfdda_Volume01
                      9487356  9020684    466672  96% /mnt/isw_cjidhfdda_Volume01
    /dev/mapper/isw_cjidhfdda_Volume02
                    303087612  68153420 234934192  23% /mnt/isw_cjidhfdda_Volume02

What's going on with /dev/sda? Am I doing something wrong?

Thanks.

mostlyharmless 09-17-2008 03:42 PM

Maybe you need to describe the setup a little bit more so that I can understand it. I'm sure it's not an NTFS issue here.

The RAID 0 is made up of which partitions on which disk? Is there one array with 3 partitions on /dev/sda? Or 3 arrays using sda and sdb? If it is all one array with 3 partitionss on dev/sda, not only is that probably not a great idea, but then you wouldn't mount the partitions separately.

But then you appear to have them already mounted separately on /mnt/blah blah.

What does dmraid -s say?

Quakeboy02 09-17-2008 04:21 PM

Like mostlyharmless says, you already have your two raid partitions mounted at:

/mnt/isw_cjidhfdda_Volume01

and

/mnt/isw_cjidhfdda_Volume02

Do an "ls" on either of these and see what happens.


All times are GMT -5. The time now is 10:04 PM.