oygle
February 21st, 2014, 10:11 AM
I have a 500 Gb external drive. It has a switch to use either USB or ESATA connection. I can use it okay with USB, but as there is a lot of files to copy to it, I would prefer to use the SATA/ESATA connection.
Have modified /etc/fstab to include the mount parameters. Reboot and the computer just hangs for about 5 mins at post BIOS, trying to auto detect the external drive I think. It does into Ubuntu and a screen with options to Skip, Wait, etc. All up it will not recognise the drive in ESATA mode. When I try to do a manual mount, I get an error message:
sudo mount -a
[sudo] password for fred:
mount: special device UUID=43eb-0004 does not exist
Here is some info:
fred@fred:~$ sudo blkid
/dev/sda1: UUID="43eb-0001" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda3: UUID="43eb-0002" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda5: UUID="43eb-0003" TYPE="swap"
fred@fred:~$
fred@fred:~$ ls /dev/disk/by-uuid/ -alh
total 0
drwxr-xr-x 2 root root 100 Feb 21 19:08 .
drwxr-xr-x 5 root root 100 Feb 21 19:08 ..
lrwxrwxrwx 1 root root 10 Feb 21 19:08 43eb-0001 -> ../../sda1
lrwxrwxrwx 1 root root 10 Feb 21 19:08 43eb-0002 -> ../../sda3
lrwxrwxrwx 1 root root 10 Feb 21 19:09 43eb-0003 -> ../../sda5
fred@fred:~$
fred@fred:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda1 during installation
UUID=43eb-0001 / ext3 errors=remount-ro 0 1
# /home was on /dev/sda3 during installation
UUID=43eb-0002 /home ext3 defaults 0 2
# swap was on /dev/sda5 during installation
UUID=43eb-0003 none swap sw 0 0
# / external hard drive - 500Gb
UUID=43eb-0004 /media/externaldisk ext3 errors=remount-ro 0 1
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
//192.168.1.100/Win95B /media/windowsshare cifs guest,uid=1000,iocharset=utf8 0 0
fred@fred:~$
fred@fred:~$ sudo lshw -class disk
[sudo] password for fred:
*-cdrom
description: CD-R/CD-RW writer
product: CD-RW SOHR-5239S
vendor: LITE-ON
physical id: 0.0.0
bus info: scsi@5:0.0.0
logical name: /dev/cdrom2
logical name: /dev/cdrw2
logical name: /dev/sr1
version: 2S08
capabilities: removable audio cd-r cd-rw
configuration: ansiversion=5 status=nodisc
*-disk
description: ATA Disk
product: ST3500320AS
vendor: Seagate
physical id: 0
bus info: scsi@0:0.0.0
logical name: /dev/sda
version: SD15
serial: 9QM5N21A
size: 465GiB (500GB)
capabilities: partitioned partitioned:dos
configuration: ansiversion=5 signature=0003fa35
*-cdrom
description: DVD-RAM writer
product: DRW-2014S1T
vendor: ASUS
physical id: 1
bus info: scsi@1:0.0.0
logical name: /dev/cdrom
logical name: /dev/cdrw
logical name: /dev/dvd
logical name: /dev/dvdrw
logical name: /dev/sr0
version: 1.01
capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram
configuration: ansiversion=5 status=nodisc
*-disk
description: SCSI Disk
physical id: 0.0.0
bus info: scsi@4:0.0.0
logical name: /dev/sdb
size: 2TiB (2199GB)
fred@fred:~$
fred@fred:~$ sudo blkid -o full -s UUID
/dev/sda1: UUID="43eb-0001"
/dev/sda3: UUID="43eb-0002"
/dev/sda5: UUID="43eb-0003"
fred@fred:~$
fred@fred:~$ /usr/bin/udisks --mount /dev/sdb
Mount failed: Error mounting: mount: you must specify the filesystem type
fred@fred:~$
fred@fred:~$ mount
/dev/sda1 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
/dev/sda3 on /home type ext3 (rw)
gvfs-fuse-daemon on /home/fred/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=fred)
//192.168.1.100/Win95B on /media/windowsshare type cifs (rw)
fred@fred:~$
fred@fred:~$ ls -al /dev/disk/by-uuid/
total 0
drwxr-xr-x 2 root root 100 Feb 21 19:08 .
drwxr-xr-x 5 root root 100 Feb 21 19:08 ..
lrwxrwxrwx 1 root root 10 Feb 21 19:08 43eb-0001 -> ../../sda1
lrwxrwxrwx 1 root root 10 Feb 21 19:08 43eb-0002 -> ../../sda3
lrwxrwxrwx 1 root root 10 Feb 21 19:09 43eb-0003 -> ../../sda5
fred@fred:~$
I can't figure out why this external drive won't mount in SATA mode. Hmm, GParted says /dev/sdb is 2 Tb (it's only 500 GB I think) and "unallocated" ??
PLEASE note, wherever you see either 43eb-0001, 43eb-0002, 43eb-0003 or 43eb-0004, these are not the correct UUID, only for display purposes.
Have modified /etc/fstab to include the mount parameters. Reboot and the computer just hangs for about 5 mins at post BIOS, trying to auto detect the external drive I think. It does into Ubuntu and a screen with options to Skip, Wait, etc. All up it will not recognise the drive in ESATA mode. When I try to do a manual mount, I get an error message:
sudo mount -a
[sudo] password for fred:
mount: special device UUID=43eb-0004 does not exist
Here is some info:
fred@fred:~$ sudo blkid
/dev/sda1: UUID="43eb-0001" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda3: UUID="43eb-0002" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda5: UUID="43eb-0003" TYPE="swap"
fred@fred:~$
fred@fred:~$ ls /dev/disk/by-uuid/ -alh
total 0
drwxr-xr-x 2 root root 100 Feb 21 19:08 .
drwxr-xr-x 5 root root 100 Feb 21 19:08 ..
lrwxrwxrwx 1 root root 10 Feb 21 19:08 43eb-0001 -> ../../sda1
lrwxrwxrwx 1 root root 10 Feb 21 19:08 43eb-0002 -> ../../sda3
lrwxrwxrwx 1 root root 10 Feb 21 19:09 43eb-0003 -> ../../sda5
fred@fred:~$
fred@fred:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda1 during installation
UUID=43eb-0001 / ext3 errors=remount-ro 0 1
# /home was on /dev/sda3 during installation
UUID=43eb-0002 /home ext3 defaults 0 2
# swap was on /dev/sda5 during installation
UUID=43eb-0003 none swap sw 0 0
# / external hard drive - 500Gb
UUID=43eb-0004 /media/externaldisk ext3 errors=remount-ro 0 1
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
//192.168.1.100/Win95B /media/windowsshare cifs guest,uid=1000,iocharset=utf8 0 0
fred@fred:~$
fred@fred:~$ sudo lshw -class disk
[sudo] password for fred:
*-cdrom
description: CD-R/CD-RW writer
product: CD-RW SOHR-5239S
vendor: LITE-ON
physical id: 0.0.0
bus info: scsi@5:0.0.0
logical name: /dev/cdrom2
logical name: /dev/cdrw2
logical name: /dev/sr1
version: 2S08
capabilities: removable audio cd-r cd-rw
configuration: ansiversion=5 status=nodisc
*-disk
description: ATA Disk
product: ST3500320AS
vendor: Seagate
physical id: 0
bus info: scsi@0:0.0.0
logical name: /dev/sda
version: SD15
serial: 9QM5N21A
size: 465GiB (500GB)
capabilities: partitioned partitioned:dos
configuration: ansiversion=5 signature=0003fa35
*-cdrom
description: DVD-RAM writer
product: DRW-2014S1T
vendor: ASUS
physical id: 1
bus info: scsi@1:0.0.0
logical name: /dev/cdrom
logical name: /dev/cdrw
logical name: /dev/dvd
logical name: /dev/dvdrw
logical name: /dev/sr0
version: 1.01
capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram
configuration: ansiversion=5 status=nodisc
*-disk
description: SCSI Disk
physical id: 0.0.0
bus info: scsi@4:0.0.0
logical name: /dev/sdb
size: 2TiB (2199GB)
fred@fred:~$
fred@fred:~$ sudo blkid -o full -s UUID
/dev/sda1: UUID="43eb-0001"
/dev/sda3: UUID="43eb-0002"
/dev/sda5: UUID="43eb-0003"
fred@fred:~$
fred@fred:~$ /usr/bin/udisks --mount /dev/sdb
Mount failed: Error mounting: mount: you must specify the filesystem type
fred@fred:~$
fred@fred:~$ mount
/dev/sda1 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
/dev/sda3 on /home type ext3 (rw)
gvfs-fuse-daemon on /home/fred/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=fred)
//192.168.1.100/Win95B on /media/windowsshare type cifs (rw)
fred@fred:~$
fred@fred:~$ ls -al /dev/disk/by-uuid/
total 0
drwxr-xr-x 2 root root 100 Feb 21 19:08 .
drwxr-xr-x 5 root root 100 Feb 21 19:08 ..
lrwxrwxrwx 1 root root 10 Feb 21 19:08 43eb-0001 -> ../../sda1
lrwxrwxrwx 1 root root 10 Feb 21 19:08 43eb-0002 -> ../../sda3
lrwxrwxrwx 1 root root 10 Feb 21 19:09 43eb-0003 -> ../../sda5
fred@fred:~$
I can't figure out why this external drive won't mount in SATA mode. Hmm, GParted says /dev/sdb is 2 Tb (it's only 500 GB I think) and "unallocated" ??
PLEASE note, wherever you see either 43eb-0001, 43eb-0002, 43eb-0003 or 43eb-0004, these are not the correct UUID, only for display purposes.