Quantcast
Channel: openSUSE Forums
Viewing all articles
Browse latest Browse all 40713

Mounting ext4 usb disk by UUID doesn't work

$
0
0
OpenSUSE 13.1 64bit KDE

I have a WD 3Tb USB3 disk that I cannot mount by UUID or ID. When I plug in the disk, KDE doesn't automount it, /dev/disk/by-uuid/ doesn't show the disk at all, and /dev/disk/by-id/ does show the disk but there is no ID for the partition itself.
Just tried on Ubuntu 12.04 server and it works perfectly there, the UUID is recognized etc.. I even tried to generate a new UUID with tune2fs but it didn't change anything. I need to get it to mount by UUID or ID for an rsync backup script.

dmesg
Code:

[32462.575019] usb 2-1: new high-speed USB device number 2 using ehci-pci
[32462.693257] usb 2-1: New USB device found, idVendor=1058, idProduct=1230
[32462.693262] usb 2-1: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[32462.693264] usb 2-1: Product: My Book 1230
[32462.693267] usb 2-1: Manufacturer: Western Digital
[32462.693269] usb 2-1: SerialNumber: 574343344530303233313233
[32462.693538] usb-storage 2-1:1.0: USB Mass Storage device detected
[32462.693599] scsi10 : usb-storage 2-1:1.0
[32463.696904] scsi 10:0:0:0: Direct-Access    WD      My Book 1230    1050 PQ: 0 ANSI: 6
[32463.698910] sd 10:0:0:0: Attached scsi generic sg2 type 0
[32463.700523] scsi 10:0:0:1: Enclosure        WD      SES Device      1050 PQ: 0 ANSI: 6
[32463.700573] ses 10:0:0:1: Attached Enclosure device
[32463.700662] ses 10:0:0:1: Attached scsi generic sg3 type 13
[32463.703393] ses 10:0:0:1: Failed to get diagnostic page 0x8000002
[32463.703397] ses 10:0:0:1: Failed to bind enclosure -19
[32463.704640] sd 10:0:0:0: [sdb] Spinning up disk...
[32464.705007] ..........ready
[32473.975810] sd 10:0:0:0: [sdb] 732558336 4096-byte logical blocks: (3.00 TB/2.72 TiB)
[32473.977055] sd 10:0:0:0: [sdb] Write Protect is off
[32473.977059] sd 10:0:0:0: [sdb] Mode Sense: 53 00 10 08
[32473.978304] sd 10:0:0:0: [sdb] No Caching mode page found
[32473.978307] sd 10:0:0:0: [sdb] Assuming drive cache: write through
[32473.979307] sd 10:0:0:0: [sdb] 732558336 4096-byte logical blocks: (3.00 TB/2.72 TiB)
[32473.981801] sd 10:0:0:0: [sdb] No Caching mode page found
[32473.981804] sd 10:0:0:0: [sdb] Assuming drive cache: write through
[32474.084204]  sdb: sdb1
[32474.085935] sd 10:0:0:0: [sdb] 732558336 4096-byte logical blocks: (3.00 TB/2.72 TiB)
[32474.090805] sd 10:0:0:0: [sdb] No Caching mode page found
[32474.090808] sd 10:0:0:0: [sdb] Assuming drive cache: write through
[32474.090812] sd 10:0:0:0: [sdb] Attached SCSI disk
[32504.838022] usb 2-1: reset high-speed USB device number 2 using ehci-pci

sudo /usr/sbin/parted -l
Code:

Model: ATA WDC WD1001FALS-0 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start  End    Size    Type      File system    Flags
 1      1049kB  106MB  105MB  primary  ntfs            type=07
 2      106MB  315GB  314GB  primary  ntfs            type=07
 3      315GB  1000GB  686GB  extended                  boot, lba, type=0f
 5      315GB  323GB  8588MB  logical  linux-swap(v1)  type=82
 6      323GB  431GB  107GB  logical  ext4            type=83
 7      431GB  1000GB  570GB  logical  ext4            type=83


Model: WD My Book 1230 (scsi)
Disk /dev/sdb: 3001GB
Sector size (logical/physical): 4096B/4096B
Partition Table: msdos

Number  Start  End    Size    Type    File system  Flags
 1      1049kB  3001GB  3001GB  primary              type=83

(why no file system shown on the usb disk? it's ext4 and it works when mounted with /dev/sdb1...)

ls -lh /dev/disk/by-uuid/
Code:

lrwxrwxrwx 1 root root 10 Mar  8 08:53 209df6ce-3dc9-455f-a7fd-e6244f55beed -> ../../sda7
lrwxrwxrwx 1 root root 10 Mar  8 08:53 687C33657C332D66 -> ../../sda1
lrwxrwxrwx 1 root root 10 Mar  8 08:53 68f908a3-3194-4eaa-be5b-b0352bbf46b3 -> ../../sda5
lrwxrwxrwx 1 root root 10 Mar  8 08:53 7C6E3FEF6E3FA0B6 -> ../../sda2
lrwxrwxrwx 1 root root 10 Mar  8 08:53 bfd1440e-5352-4f00-a023-68ed658b87be -> ../../sda6

ls -lh /dev/disk/by-id/
Code:

lrwxrwxrwx 1 root root  9 Mar  8 08:53 ata-TSSTcorp_CDDVDW_SH-S203D -> ../../sr0
lrwxrwxrwx 1 root root  9 Mar  8 17:58 ata-WDC_WD1001FALS-00E3A0_WD-WCATR0371895 -> ../../sda
lrwxrwxrwx 1 root root 10 Mar  8 08:53 ata-WDC_WD1001FALS-00E3A0_WD-WCATR0371895-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Mar  8 08:53 ata-WDC_WD1001FALS-00E3A0_WD-WCATR0371895-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Mar  8 08:53 ata-WDC_WD1001FALS-00E3A0_WD-WCATR0371895-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Mar  8 08:53 ata-WDC_WD1001FALS-00E3A0_WD-WCATR0371895-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Mar  8 08:53 ata-WDC_WD1001FALS-00E3A0_WD-WCATR0371895-part6 -> ../../sda6
lrwxrwxrwx 1 root root 10 Mar  8 08:53 ata-WDC_WD1001FALS-00E3A0_WD-WCATR0371895-part7 -> ../../sda7
lrwxrwxrwx 1 root root  9 Mar  8 17:58 ata-WDC_WD30EZRX-00SPEB0_WD-WCC4E0023123 -> ../../sdb
lrwxrwxrwx 1 root root  9 Mar  8 17:58 scsi-1ATA_WDC_WD1001FALS-00E3A0_WD-WCATR0371895 -> ../../sda
lrwxrwxrwx 1 root root 10 Mar  8 08:53 scsi-1ATA_WDC_WD1001FALS-00E3A0_WD-WCATR0371895-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Mar  8 08:53 scsi-1ATA_WDC_WD1001FALS-00E3A0_WD-WCATR0371895-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Mar  8 08:53 scsi-1ATA_WDC_WD1001FALS-00E3A0_WD-WCATR0371895-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Mar  8 08:53 scsi-1ATA_WDC_WD1001FALS-00E3A0_WD-WCATR0371895-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Mar  8 08:53 scsi-1ATA_WDC_WD1001FALS-00E3A0_WD-WCATR0371895-part6 -> ../../sda6
lrwxrwxrwx 1 root root 10 Mar  8 08:53 scsi-1ATA_WDC_WD1001FALS-00E3A0_WD-WCATR0371895-part7 -> ../../sda7
lrwxrwxrwx 1 root root  9 Mar  8 17:58 scsi-1WD_My_Book_1230_WCC4E0023123 -> ../../sdb
lrwxrwxrwx 1 root root  9 Mar  8 17:58 scsi-SATA_WDC_WD1001FALS-0_WD-WCATR0371895 -> ../../sda
lrwxrwxrwx 1 root root 10 Mar  8 08:53 scsi-SATA_WDC_WD1001FALS-0_WD-WCATR0371895-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Mar  8 08:53 scsi-SATA_WDC_WD1001FALS-0_WD-WCATR0371895-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Mar  8 08:53 scsi-SATA_WDC_WD1001FALS-0_WD-WCATR0371895-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Mar  8 08:53 scsi-SATA_WDC_WD1001FALS-0_WD-WCATR0371895-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Mar  8 08:53 scsi-SATA_WDC_WD1001FALS-0_WD-WCATR0371895-part6 -> ../../sda6
lrwxrwxrwx 1 root root 10 Mar  8 08:53 scsi-SATA_WDC_WD1001FALS-0_WD-WCATR0371895-part7 -> ../../sda7
lrwxrwxrwx 1 root root  9 Mar  8 17:58 scsi-SWD_My_Book_1230_WCC4E0023123 -> ../../sdb
lrwxrwxrwx 1 root root  9 Mar  8 17:58 wwn-0x50014ee20909771a -> ../../sdb
lrwxrwxrwx 1 root root  9 Mar  8 17:58 wwn-0x50014ee2aed3b3e4 -> ../../sda
lrwxrwxrwx 1 root root 10 Mar  8 08:53 wwn-0x50014ee2aed3b3e4-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Mar  8 08:53 wwn-0x50014ee2aed3b3e4-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Mar  8 08:53 wwn-0x50014ee2aed3b3e4-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Mar  8 08:53 wwn-0x50014ee2aed3b3e4-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Mar  8 08:53 wwn-0x50014ee2aed3b3e4-part6 -> ../../sda6
lrwxrwxrwx 1 root root 10 Mar  8 08:53 wwn-0x50014ee2aed3b3e4-part7 -> ../../sda7

fdisk:
Code:

Disk /dev/sdb: 3000.6 GB, 3000558944256 bytes, 732558336 sectors
Units = sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk label type: dos
Disk identifier: 0x00028375

  Device Boot      Start        End      Blocks  Id  System
/dev/sdb1            256  732558335  2930232320  83  Linux


Viewing all articles
Browse latest Browse all 40713

Trending Articles