Re: [Nolug] Disk Assignments

From: Ron Johnson <ron.l.johnson_at_cox.net>
Date: Thu, 20 Jan 2011 19:09:41 -0600
Message-ID: <4D38DCD5.1020806@cox.net>

No need to reference udev. Just give the partition a label...
Here, for example, is the fstab entry of my external drive:
LABEL="BACKUP_LV" /mnt/backups xfs defaults,noauto 0 0

The tool used depends on the fs.

On 01/20/2011 04:56 PM, Kevin Bucknum wrote:
> Google UDEV label disk
>
> Sent from my iPhone
>
> On Jan 20, 2011, at 4:50 PM, Ronald Giardina<general.reikan@gmail.com> wrote:
>
>> I'm using a laptop as a server setup on my network and I have a SATA dock connected via USB, which I just drop a SATA drive into for some external removable storage. I generally just leave it connected as extra storage. The problem is when it sits idle the external dock will power down the drive and when it powers back up it's assigned a new drive letter. I've edited fstab to mount /dev/sdc1, but when it powers down and needs to be remounted fstab is useless because the device is now /dev/sdd1, and it works its way up the alphabet. Currently, it's back on sdc. Is there a way to assign a letter to a specific drive so that even if I remove it and reconnect it later the machine will recognize the drive and have that location reserved for it? I've tried google but I'm not exactly sure what I'm looking for and wasn't able to come up with anything useful.
>>
>> Ubuntu 10.10 - i86
> ___________________
> Nolug mailing list
> nolug@nolug.org

-- 
Famous University Professor says...
"Of course 5 years from (1992) everyone will be running free GNU on
their 200 MIPS, 64M SPARCstation-5."
___________________
Nolug mailing list
nolug@nolug.org
Received on 01/20/11

This archive was generated by hypermail 2.2.0 : 01/21/11 EST