[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: disaster recovery Q's

On Wednesday 11 November 2009, Rick Stevens wrote:
>On 11/11/2009 03:04 PM, Aldo Foot wrote:
>> On Wed, Nov 11, 2009 at 2:35 PM, Gene Heskett<gene heskett verizon net> 
>> wrote: <...>
>>> I just checked, and /etc/fstab is using UUID's, how can that be fixed,
>>> or should I just put it back to LABEL's and be done with it.  That drive
>>> is labeled, but I don't believe its  /boot for /boot, so
>> You can get the UUIDs from the HDDs with blkid. Just type at the CLI. Get
>> the number for the correct partition and stick it in the fstab and
>> grub.conf if needed.
>> You can always use the OS DVD to go into rescue mode (F5) to fix things.
>>> how do I get the labels off the drive?  Or should I just relabel it to
>>> gigo?
>> See the e2label man page
>>       # e2label /dev/sdaX   --shows current fileystem label
>>       # e2label /dev/sdaX newLabel -- assigns a new label to the
>> filesystem
>>> And, if I rsync each directory tree to the new drive, will that move the
>>> UUID and/or labels too?
>> Hmm... where does e2label stores the filesystem label? I don't know.
>> I'd guess that dd would copy them, but not rsync. Anyone care to comment?
>The label is stored in the superblocks.  dd should copy it.  rsync is
>file oriented and won't preserve filesystem labels.

Which is why I've prepared the drive & labels already.  gparted to the 

Thanks Rick.

>- Rick Stevens, Systems Engineer                      ricks nerd com -
>- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
>-                                                                    -
>-      We are born naked, wet and hungry. Then things get worse.     -

Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
The NRA is offering FREE Associate memberships to anyone who wants them.

Ummm, well, OK.  The network's the network, the computer's the computer.
Sorry for the confusion.
		-- Sun Microsystems

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]