Re: Still having problems with mount of USB drive at boot time

2010-12-15 Thread Robert Moskowitz
On 12/15/2010 08:43 PM, Tim wrote:
> Tim:
>
>>> If it's Ext3, there's the e2label command.
>>>
>
> Robert Moskowitz:
>
>> Ext4
>>  
> It might still use e2label, it was still used for Ext3.  Have a look at
> the man file, or "apropos label" to see what other label commands are
> available to you.

All made with e2label.  The man page says it works for ext2, ext3, and ext4.


-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Still having problems with mount of USB drive at boot time

2010-12-15 Thread Tim
Tim:
>> If it's Ext3, there's the e2label command.


Robert Moskowitz:
> Ext4

It might still use e2label, it was still used for Ext3.  Have a look at
the man file, or "apropos label" to see what other label commands are
available to you.

-- 
[...@localhost ~]$ uname -r
2.6.27.25-78.2.56.fc9.i686

Don't send private replies to my address, the mailbox is ignored.  I
read messages from the public lists.



-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Still having problems with mount of USB drive at boot time

2010-12-15 Thread Robert Moskowitz
On 12/15/2010 08:41 AM, Tim wrote:
> Tim:
>
>>> The usual answer is give the drive a name/label, appropriate to the
>>> file system on it (ext3, FAT, whatever).
>>>
> Robert Moskowitz:
>
>> How do I do that?
>>  
> What file system is used on the drive?
>
> If it's Ext3, there's the e2label command.
>

Ext4

> If it's FAT, you have to assign a Windows-like drive letter, then use
> the DOS/FAT drive labelling commands to label the drive.  Though, the
> simplest solution, if you can plug it into a Windows box, is to do so,
> and right-click and rename the drive.
>
> It irks me, seeing how Gnome plays so heavily upon using the name of the
> drive as a mount point, that we have to go through all these shenanigans
> to rename a drive, when Windows users have it so easy.  Sure, make us
> type in a root password to allow the change, but let us right-click on a
> drive and rename it.
>
>
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Still having problems with mount of USB drive at boot time

2010-12-15 Thread Tim
Tim:
>> The usual answer is give the drive a name/label, appropriate to the
>> file system on it (ext3, FAT, whatever).

Robert Moskowitz:
> How do I do that?

What file system is used on the drive?

If it's Ext3, there's the e2label command.  

If it's FAT, you have to assign a Windows-like drive letter, then use
the DOS/FAT drive labelling commands to label the drive.  Though, the
simplest solution, if you can plug it into a Windows box, is to do so,
and right-click and rename the drive.

It irks me, seeing how Gnome plays so heavily upon using the name of the
drive as a mount point, that we have to go through all these shenanigans
to rename a drive, when Windows users have it so easy.  Sure, make us
type in a root password to allow the change, but let us right-click on a
drive and rename it.

-- 
[...@localhost ~]$ uname -r
2.6.27.25-78.2.56.fc9.i686

Don't send private replies to my address, the mailbox is ignored.  I
read messages from the public lists.



-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Still having problems with mount of USB drive at boot time

2010-12-15 Thread Robert Moskowitz
On 12/15/2010 05:53 AM, Tim wrote:
> On Tue, 2010-12-14 at 16:33 -0500, Robert Moskowitz wrote:
>
>> This is for Fedora 12 and a 1.5Tb USB seagate drive.
>>
>> How do I get this drive recognixzed at boot time?  Once it is set up
>> it is known as:
>>
>> /media/d4ae05a3-c60f-489d-8159-e16c9a271f0b
>>  
> The usual answer is give the drive a name/label, appropriate to the file
> system on it (ext3, FAT, whatever).

How do I do that?


-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Still having problems with mount of USB drive at boot time

2010-12-15 Thread Tim
On Tue, 2010-12-14 at 16:33 -0500, Robert Moskowitz wrote:
> This is for Fedora 12 and a 1.5Tb USB seagate drive.
>  
> How do I get this drive recognixzed at boot time?  Once it is set up
> it is known as:
>  
> /media/d4ae05a3-c60f-489d-8159-e16c9a271f0b

The usual answer is give the drive a name/label, appropriate to the file
system on it (ext3, FAT, whatever).

-- 
[...@localhost ~]$ uname -r
2.6.27.25-78.2.56.fc9.i686

Don't send private replies to my address, the mailbox is ignored.  I
read messages from the public lists.



-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Still having problems with mount of USB drive at boot time

2010-12-15 Thread Rick Sewill
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12/14/2010 03:33 PM, Robert Moskowitz wrote:
> This is for Fedora 12 and a 1.5Tb USB seagate drive.
> 
> How do I get this drive recognixzed at boot time?  Once it is set up it 
> is known as:
> 
> /media/d4ae05a3-c60f-489d-8159-e16c9a271f0b
> 
> 

Caution: I am on Fedora 14.
I can't remember if the following is true for Fedora 12.
I believe the following is true for Fedora 13.

When the disk is on and plugged in, does an entry for it appear in
ls -l /dev/disk/by-uuid

What I have done is the following:
1) In my /etc/fstab I have
   (following is all one line, forgive the line wrap)
UUID=90de18a5-489b-40bd-85a4-9a2ff3a15d81 /media/wd  ext2   noauto
0 0

2) When I turn on my USB disk, the following appears:
   ls -l /dev/disk/by-uuid/90de*
rsew...@rsewill:~ <2:6> $ ls -l /dev/disk/by-uuid/90de*
lrwxrwxrwx. 1 root root 10 Dec 15 01:42
/dev/disk/by-uuid/90de18a5-489b-40bd-85a4-9a2ff3a15d81 -> ../../sdf1

It appears I can use UUID=name where name is found in /dev/disk/by-uuid
in my /etc/fstab file.

3) I do, sudo mount /media/wd
   Please note: I have my /etc/sudoers file set up so I can do
   sudo mount 
   As root, one edits the /etc/sudoers file using the visudo command
   to set up what user can do what with the sudo command.

Similarly, I believe I can use LABEL=label for the disk if it appears in
/dev/disk/by-label.  I have a walkman which I have labeled, WALKMAN.
My fstab entry for it is as follows:
  (following is all one line, forgive the line wrap)
LABEL=WALKMAN   /media/walkman   vfat
noauto,user 0 0

The entry, when the walkman is plugged in, in /dev/disk/by-label is
rsew...@rsewill:~ <2:11> $ ls -l /dev/disk/by-label/WALKMAN
lrwxrwxrwx. 1 root root 10 Dec 15 01:47 /dev/disk/by-label/WALKMAN ->
../../sdg1

I can mount my walkman, as a normal user, because of the "user" option
in the /etc/fstab file.
mount /media/walkman

I use "noauto" or "noauto,user" so I can control when the device is
mounted.  I mount these devices manually.

Please see "man 8 mount" for the definitions of these options,
noauto, user, defaults.

I assume, since you say you want it mounted automatically,
and I assume at boot time, you will not want the "noauto" option.

Would you, instead, use the "defaults" option instead of "noauto"?

If the device is not turned on during boot, with the "defaults" option,
I'm not sure what will happen.  I expect the system to wait a long time
and/or hang waiting for the device to appear.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAk0Id6gACgkQyc8Kn0p/AZR65gCfSjpKUXRNqj0KzLgfazGY4Y8U
4xgAnRjdZ0kiUMGBUmXgfV4oUqn5ZGy/
=tTbg
-END PGP SIGNATURE-
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Still having problems with mount of USB drive at boot time

2010-12-14 Thread Robert Moskowitz
On 12/14/2010 05:10 PM, Rick Stevens wrote:
> On 12/14/2010 01:33 PM, Robert Moskowitz wrote:
>> This is for Fedora 12 and a 1.5Tb USB seagate drive.
>>
>> How do I get this drive recognixzed at boot time?  Once it is set up it
>> is known as:
>>
>> /media/d4ae05a3-c60f-489d-8159-e16c9a271f0b
>
> I've run into that myself, Robert, starting with an F12 kernel.  My
> cheap-and-dirty (and perhaps not recommended) fix was to add:
>
> rmmod usb_storage;modprobe usb_storage
>
> to the /etc/rc.d/rc.local file to force the unload and reload of the
> USB storage module at the end of the boot process.  It works, but seems
> rather a kludge.

I thought I  would test this out and SSHed into the box and SUed.  Then:

# rmmod usb_storage
ERROR: Module usb_storage is in use


Now what?



> --
> - Rick Stevens, Systems Engineer, C2 Hosting  ri...@nerd.com -
> - AIM/Skype: therps2ICQ: 22643734Yahoo: origrps2 -
> --
> -   Denial.  It ain't just a river in Egypt anymore! -
> --
>
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Still having problems with mount of USB drive at boot time

2010-12-14 Thread Rick Stevens
On 12/14/2010 01:33 PM, Robert Moskowitz wrote:
> This is for Fedora 12 and a 1.5Tb USB seagate drive.
>
> How do I get this drive recognixzed at boot time?  Once it is set up it
> is known as:
>
> /media/d4ae05a3-c60f-489d-8159-e16c9a271f0b

I've run into that myself, Robert, starting with an F12 kernel.  My
cheap-and-dirty (and perhaps not recommended) fix was to add:

rmmod usb_storage;modprobe usb_storage

to the /etc/rc.d/rc.local file to force the unload and reload of the
USB storage module at the end of the boot process.  It works, but seems
rather a kludge.
--
- Rick Stevens, Systems Engineer, C2 Hosting  ri...@nerd.com -
- AIM/Skype: therps2ICQ: 22643734Yahoo: origrps2 -
--
-   Denial.  It ain't just a river in Egypt anymore! -
--
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Still having problems with mount of USB drive at boot time

2010-12-14 Thread Robert Moskowitz
This is for Fedora 12 and a 1.5Tb USB seagate drive.

How do I get this drive recognixzed at boot time?  Once it is set up it 
is known as:

/media/d4ae05a3-c60f-489d-8159-e16c9a271f0b


-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines