From: Stephen Powell on 12 Apr 2010 11:40 On Sun, 11 Apr 2010 23:44:07 -0400 (EDT), thib wrote: > > Well, as I said in another branch of the thread, you can shrink most > filesystems, including all extfs (I think the only bad boy here is XFS), > look at resize2fs(8) from e2fsprogs for these. vr, it looks like you've already received plenty of suggestions, but I just thought I'd mention that I have developed a migration procedure that you may be able to adapt to your situation. I have a web page which I developed for how to use a high-performance disk driver under Debian for the s390 platform. As it turns out, the high performance driver doesn't work with the type of disks supported by the Debian installer; so that means installing to one type of disk and then migrating to another type of disk after the install. Perhaps the migration procedure documented therein can be adapted to your purposes. The low-level formatting and partitioning steps are quite different on this platform from PCs. But creating the file systems and copying the data are relatively platform independent. You'll have to discern what is platform specific and either disregard or adapt it. But anyway, here's the link, in case you find it useful. http://www.wowway.com/~zlinuxman/diag250.htm -- .''`. Stephen Powell <zlinuxman(a)wowway.com> : :' : `. `'` `- -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/488551811.2636611271086298336.JavaMail.root(a)md01.wow.synacor.com
From: Clive McBarton on 12 Apr 2010 19:20 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Sjoerd Hardeman wrote: > Clive McBarton schreef: >> Sjoerd Hardeman wrote: >>> mount the new device (mount -odev /dev/newdevice), and do a >>> rsync -ax / /media/newdevice. >> What exactly is the advantage of this approach over "cp -a" or "mv"? > Added to the points others make the "don't cross filesystem > borders"-option (-x), which makes it useful for the task at hand. Then > again, now probably somebody will reply that cp can do that too... Indeed. The option for cp even has exactly the same name as the option for rsync, namely "-x" or "--one-file-system". -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkvDqfcACgkQ+VSRxYk4409OSwCfQUbrWYLwoNQME/98sIdFSzNd Y+4AnRkojnSeHm77jVJzPi1g497+U+Yp =VbRe -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/4BC3A9F7.6090802(a)web.de
From: Sjoerd Hardeman on 13 Apr 2010 04:40
Clive McBarton schreef: > Sjoerd Hardeman wrote: >> Clive McBarton schreef: >>> Sjoerd Hardeman wrote: >>>> mount the new device (mount -odev /dev/newdevice), and do a >>>> rsync -ax / /media/newdevice. >>> What exactly is the advantage of this approach over "cp -a" or "mv"? >> Added to the points others make the "don't cross filesystem >> borders"-option (-x), which makes it useful for the task at hand. Then >> again, now probably somebody will reply that cp can do that too... > > Indeed. The option for cp even has exactly the same name as the option > for rsync, namely "-x" or "--one-file-system". That indeed makes sense, but I was to lazy to look in the manpages. I guess I am a rsync fanboy ;) Sjoerd |