Re: disaster recovery Q's

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

 



On 11/11/2009 03:04 PM, Aldo Foot wrote:
On Wed, Nov 11, 2009 at 2:35 PM, Gene Heskett<gene.heskett@xxxxxxxxxxx>  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.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer                      ricks@xxxxxxxx -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
-      We are born naked, wet and hungry. Then things get worse.     -
----------------------------------------------------------------------

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux