PDA

View Full Version : [ubuntu] Problem mounting fakeraid local windows partition



Merlin007
December 22nd, 2008, 02:31 AM
Hi,
I have 4 HDD in my PC which I configured as 2 software RAID 0, one uses 2 PATA drives and the other uses 2 SATA drives. I have Windows XP installed in the first partition of the PATA RAID set as well as Ubuntu 8.10. I was able to mount the PATA RAID partition from the Windows installation in Ubuntu but I don't know how to mount the SATA RAID set which contains only one NTFS partition.

/dev/mapper looks like this:

drwxr-xr-x 2 root root 180 2008-12-21 08:41 .
drwxr-xr-x 19 root root 14460 2008-12-21 17:51 ..
crw-rw---- 1 root root 10, 60 2008-12-21 08:41 control
brw-rw---- 1 root disk 254, 4 2008-12-21 08:41 isw_bbhahgaheh_SATA_RAID
brw-rw---- 1 root disk 254, 5 2008-12-21 08:41 isw_bbhahgaheh_SATA_RAID1
brw-rw---- 1 root disk 254, 0 2008-12-21 08:41 pdc_cgfhibggbd
brw-rw---- 1 root disk 254, 1 2008-12-21 13:52 pdc_cgfhibggbd1
brw-rw---- 1 root disk 254, 2 2008-12-21 13:41 pdc_cgfhibggbd5
brw-rw---- 1 root disk 254, 3 2008-12-21 08:41 pdc_cgfhibggbd6

/etc/fstab looks like this:

# /etc/fstab: static file system information.
#
# -- This file has been automaticly generated by ntfs-config --
#
# <file system> <mount point> <type> <options> <dump> <pass>

proc /proc proc defaults 0 0
# Entry for /dev/mapper/pdc_cgfhibggbd5 :
UUID=5b487fd2-3666-4e4e-83ac-780c88b7e69d / ext3 relatime,errors=remount-ro 0 1
# Entry for /dev/mapper/pdc_cgfhibggbd6 :
UUID=5ecebda6-e59e-4d9a-8c12-e70ebbf3c1b4 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/scd1 /media/cdrom1 udf,iso9660 user,noauto,exec,utf8 0 0

# Entries for Windows XP

# Entry for Drive C
/dev/mapper/pdc_cgfhibggbd1 /home/ben/drive_c ntfs-3g

As you have guessed, the pdc RAID is the PATA RAID set used for both Windows and Ubuntu installations and I have access to its NTFS partition from Linux.

How do I mount the isw RAID partition?

Any help will be much appreciated.

lemming465
December 28th, 2008, 07:26 AM
Try something like
sudo mkdir /media/sata
sudo mount /dev/mapper/isw_bbhahgaheh_SATA_RAID1 /media/sata
and see where that gets you. If the results are satisfactory, add to /etc/fstab something like
/dev/mapper/isw_bbhahgaheh_SATA_RAID1 /home/ben/drive_d ntfs-3g

Merlin007
December 28th, 2008, 08:39 PM
Hi,

I failed to mention it in my original post but I tried this and it actually mounts the drive but there's something wrong with the way it reads the filesystem. In the root directory of the partition, there is a directory named "Video" and in Linux it sees it as a file. Pretty much everything I have on this partition is in the "Video" directory :(