[SATLUG] moving data from one file system to another

Travis H. solinym at gmail.com
Sun Jul 24 11:13:34 CDT 2005


I decided I wanted my data drive and OS drive seperate.
I fdisk'd the exact same for /boot, and then did a bit-for-bit copy of
the original /boot, no
apparent problems (although I do notice that there is a UUID that
should probably be
different).

In any case, the / partitions are not the same size, so bit-for-bit won't work.
So I tried to create a new file system with the same parameters as the original
(which FC3 set up for me).  Comparing with dumpe2fs, I notice that my attempt
doesn't have certain filesystem features (ext_attr, dir_index).  The
ext3 manpages
don't mention them.  How do I enable them?

Alternately, does anyone know where the code in the FC3 installer (anaconda?)
is, so maybe I could see exactly how they do it?

Also, I don't want to mess up the security contexts (a la selinux)...
does dump/restore
faithfully copy this kind of metadata?

TIA
-- 
http://www.lightconsulting.com/~travis/
GPG fingerprint: 50A1 15C5 A9DE 23B9 ED98 C93E 38E9 204A 94C2 641B


More information about the SATLUG mailing list