Re: Doubled external usb hard drives?

2011-12-25 Thread Walter Hurry
On Sun, 25 Dec 2011 18:22:46 +, Brian wrote:

> On Sun 25 Dec 2011 at 15:16:11 +, Sharon Kimble wrote:
> 
>> This morning my usb external hard drive started playing up by showing
>> two instances, i.e.;-
>> ~~~
>> ls -l /media total 48 drwxr-xr-x   2 root root   4096 Dec 22 20:10
>> 8eef3b99-c17b-4913-ae61-d34c7fd5d459 drwxrwxr-x 184 root boztu 12288
>> Dec 24 18:13 8eef3b99-c17b-4913-ae61-d34c7fd5d459_
>> ~
> ^
> ^
> ^
> These are two different mount points. ^

Correct. And it has happened because udisks tries to automount drives 
onto /media/ (creating a new directory there first). But 
if it finds a directory already exists there, it will append an 
underscore and try again, and so on.

Witness:
$ cd /media
$ ls
Elements  Elements-1T  u01
$ mount|grep Elements-1T
/dev/sdb1 on /media/Elements-1T type ext2 
(rw,nosuid,nodev,relatime,user_xattr,acl,barrier=1,uhelper=udisks)
$ sudo umount /dev/sdb1
$ mount|grep Elements-1T
$ ls
Elements  u01
$ sudo mkdir Elements-1T
$ ls
Elements  Elements-1T  u01
(now unplug the disk, then plug it in again)
$ ls
Elements  Elements-1T  Elements-1T_  u01
$ mount|grep Elements-1T
/dev/sdb1 on /media/Elements-1T_ type ext2 
(rw,nosuid,nodev,relatime,user_xattr,acl,barrier=1,uhelper=udisks)
$

Additional remark: That's why I always give my USB thumb drives as well 
as my USB external disks sensible labels like "Red_USB" or "Elements-1T".



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/jd88vh$sb5$1...@dough.gmane.org



Re: Doubled external usb hard drives?

2011-12-25 Thread Brian
On Sun 25 Dec 2011 at 15:16:11 +, Sharon Kimble wrote:

> This morning my usb external hard drive started playing up by showing
> two instances, i.e.;-
> ~~~
> ls -l /media
> total 48
> drwxr-xr-x   2 root root   4096 Dec 22 20:10
> 8eef3b99-c17b-4913-ae61-d34c7fd5d459
> drwxrwxr-x 184 root boztu 12288 Dec 24 18:13
> 8eef3b99-c17b-4913-ae61-d34c7fd5d459_
> ~
  ^
  ^
  ^
These are two different mount points. ^


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111225182246.GO3655@desktop



Re: Doubled external usb hard drives?

2011-12-25 Thread Sharon Kimble
I've found that if i put a backspace [ _ ] after
8eef3b99-c17b-4913-ae61-d34c7fd5d459_ then I can access the drive in
konqureor and the cli. So its not all doom and gloom.

Sharon.


On 25 December 2011 15:16, Sharon Kimble  wrote:
> This morning my usb external hard drive started playing up by showing
> two instances, i.e.;-
> ~~~
> ls -l /media
> total 48
> drwxr-xr-x   2 root root   4096 Dec 22 20:10
> 8eef3b99-c17b-4913-ae61-d34c7fd5d459
> drwxrwxr-x 184 root boztu 12288 Dec 24 18:13
> 8eef3b99-c17b-4913-ae61-d34c7fd5d459_
> ~
>
> There was some problem with kernel errors I saw whilst I rebooted to
> try to clear it, but it was so faint and beneath my wallpaper and then
> scrolled off before I could read it, that I dont know what it said.
>
> This is its line from /etc/fstab ;-
> ~~
> /dev/sdb1       /media/8eef3b99-c17b-4913-ae61-d34c7fd5d459     auto    
> default\
> s   0       0
> ~~
>
> Can anyone help me out please as I use this drive for all my backups
> and it holds five months of them so it is rather important to me.
>
> Sharon.
> --
> A taste of linux = http://www.sharons.org.uk/taste/index.html
> efever = http://www.efever.blogspot.com/
> efever = http://sharon04.livejournal.com/
> Debian 6,0.3, Gnome 1:2.30+7, LibreOffice 3.4.4
> Registered Linux user 334501



-- 
A taste of linux = http://www.sharons.org.uk/taste/index.html
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
Debian 6,0.3, Gnome 1:2.30+7, LibreOffice 3.4.4
Registered Linux user 334501


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cam9u--f9cgmz3doqpwjccqorxvyojy-mrjkmu+96abchhnx...@mail.gmail.com