Can mount drives in Kubuntu 8.04 but not OpenSUSE 11.1

Hi all,

As the subject states…

Simple setup. 3 - 160 GB drives:
/dev/sda1 - Data drive.
/dev/sdb1 - Kubuntu 8.04
/dev/sdc1 - Winblows XP Pro

and 1 - 80 GB USB drive:
/dev/sdd1 - OpenSUSE 11.1 (kde 4.2)

Originally, the SUSE install detected and mounted my winblows drive and all was good there… that now says I have no permission to mount.

I was NEVER able to mount the Data drive… which is the one I really need.

Here are my fstab’s:

Kubuntu:

/etc/fstab: static file system information.

<file system> <mount point> <type> <options> <dump> <pass>

proc /proc proc defaults 0 0

/dev/sdb1

UUID=3b3149a1-0f0c-42d2-a82d-fdd9b9df4215 / ext3 relatime,errors=remount-ro 0 1

/dev/sdb5

UUID=89fed49f-5d5d-4ee1-a463-5515f32dff57 none swap sw 0 0
/dev/scd0 /media/cdrom udf,iso9660 user,noauto,exec,utf8 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
/dev/sda1 /media/data ext3 defaults 0 0
/dev/sdc1 /media/windows ntfs defaults 0 0

openSUSE:

/dev/disk/by-id/ata-ST3160815AS_6RA81X8G-part5 swap swap defaults 0 0
/dev/disk/by-id/usb-Generic_USB_Disk-0:0-part1 / ext3 acl,user_xattr 1 1
/dev/disk/by-id/usb-Generic_USB_Disk-0:0-part2 /home ext3 acl,user_xattr 1 2
/dev/disk/by-id/ata-ST3160815AS_5RA0APVS-part1 /windows/C ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
/dev/sdb1 /media/kubuntu ext3 user 0 0
/dev/sda1 /media/data ext3 user 0 0

Here are my fdisk’s:

Kubuntu:

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

Device Boot Start End Blocks Id System
/dev/sda1 * 1 19457 156288321 83 Linux

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

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 18705 150247881 83 Linux
/dev/sdb2 18706 19457 6040440 5 Extended
/dev/sdb5 18706 19457 6040408+ 82 Linux swap / Solaris

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

Device Boot Start End Blocks Id System
/dev/sdc1 * 1 19456 156280288+ 7 HPFS/NTFS

Disk /dev/sdd: 80.0 GB, 80025280000 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000a94b8

Device Boot Start End Blocks Id System
/dev/sdd1 1 2611 20972826 83 Linux
/dev/sdd2 2612 9729 57175335 83 Linux

openSUSE:

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

Device Boot Start End Blocks Id System
/dev/sda1 * 1 19457 156288321 83 Linux

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

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 18705 150247881 83 Linux
/dev/sdb2 18706 19457 6040440 5 Extended
/dev/sdb5 18706 19457 6040408+ 82 Linux swap / Solaris

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

Device Boot Start End Blocks Id System
/dev/sdc1 * 1 19456 156280288+ 7 HPFS/NTFS

Disk /dev/sdd: 80.0 GB, 80025280000 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000a94b8

Device Boot Start End Blocks Id System
/dev/sdd1 1 2611 20972826 83 Linux
/dev/sdd2 2612 9729 57175335 83 Linux

Disk /dev/dm-0: 160.0 GB, 160041795584 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xce1dce1d

 Device Boot      Start         End      Blocks   Id  System

/dev/dm-0p1 * 1 19457 156288321 83 Linux

Disk /dev/dm-1: 160.0 GB, 160039240704 bytes
255 heads, 63 sectors/track, 19456 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-1 doesn’t contain a valid partition table

I am not sure why SUSE sees /dev/sda1 as /dev/dm-1 as well, or why it is complaining about the partion table.

So… any ideas on this one?

Thanks,
-OG-

Looks like you added the sda mount line to fstab yourself. First, in the file manager as root, add a subdirectory under /mnt with the name “data” (i.e., /mnt/data); /media is used for non-permanent storage (such as your USB drive, unless it is always attached in which case you might also change it to /mnt). Then change its permissions so that the group is “users” with read/write permission. Then change the fstab line to this (which uses Access Control List, much better):

/dev/sda1 /mnt/data ext3 acl,user_xattr 0 0

For your Windows C drive, just try this:

/dev/disk/by-id/ata-ST3160815AS_5RA0APVS-part1 /windows/C ntfs-3g defaults 0 0

As far as the “dm-0” and “dm-1” volumes, I’m out of my depth on this one, but fwiw it looks to me like either you have a Logical Volume set (“device mapper”) or you have drive(s) attached to a chipset controller which supports RAID and the bios is set to such accordingly (or the bios is reporting it incorrectly, which happens). You can check whether dmraid is at work by doing from a terminal as root:

dmraid -r

If none are reported, then go to YaST Partitioner to see if somehow an LVM was set up.

Thanks for your help mingus725!

This is what I get…

dmraid -r
/dev/sda: pdc, “pdc_chfjchdg”, stripe, ok, 312581632 sectors, data@ 0

So… how to remove this without hurting any data… I have ALOT of data I don’t want to loose on this drive…

BTW… It can’t be anything in the bios… every other OS I install on this box see’s the drives fine…

OK… fixed the data drive by removing dmraid.

Still working on windows drive…