View previous topic :: View next topic |
Author |
Message |
stardotstar l33t
Joined: 10 Feb 2006 Posts: 887 Location: 2074/SYD/NSW/AU
|
Posted: Fri Jul 04, 2008 12:18 am Post subject: [SOLVED]inode exhaustion - need help recovering the install |
|
|
Hi guys,
I have run out of inodes on my main root drive despite trying to keep everything on other volumes - now I am trying to work out a good way to transfer the whole root fs to an external disk, format and recreate the root with more inodes and then transfer everything back.
In the past I have successfully migrated root partitions around using dd but that will not help here will it>?
Is there a cp with appropriate switches I can use to avoid permission/symlink/dev/proc file problems in recovering this otherwise carefully built initial gentoo install?
Many Thanks
\\' _________________ ]8P
Last edited by stardotstar on Fri Jul 04, 2008 10:06 am; edited 1 time in total |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22660
|
Posted: Fri Jul 04, 2008 2:12 am Post subject: |
|
|
Using dd would create an exact image of the filesystem, complete with its shortage of inodes. I suggest using tar with the --one-file-system option to avoid having it traverse into other partitions. |
|
Back to top |
|
|
desultory Bodhisattva
Joined: 04 Nov 2005 Posts: 9410
|
Posted: Fri Jul 04, 2008 2:22 am Post subject: |
|
|
stardotstar wrote: | In the past I have successfully migrated root partitions around using dd but that will not help here will it>? | Only if you want to have a pristine backup in case of things going seriously wrong.
stardotstar wrote: | Is there a cp with appropriate switches I can use to avoid permission/symlink/dev/proc file problems in recovering this otherwise carefully built initial gentoo install? | Either of cp -a $source $destination or tar cvf $tarball $directory, depending on your preference. In either case be sure to not have anything mounted under the partition you are backing up.
Last edited by desultory on Fri Jul 04, 2008 6:04 am; edited 1 time in total |
|
Back to top |
|
|
stardotstar l33t
Joined: 10 Feb 2006 Posts: 887 Location: 2074/SYD/NSW/AU
|
Posted: Fri Jul 04, 2008 5:32 am Post subject: |
|
|
Good points!
So I am rebooting into the sysresccd and then will cp -a the partition to another after a dd for fallback!
Cheers guys. Thank You.
\\' _________________ ]8P |
|
Back to top |
|
|
stardotstar l33t
Joined: 10 Feb 2006 Posts: 887 Location: 2074/SYD/NSW/AU
|
Posted: Fri Jul 04, 2008 10:05 am Post subject: |
|
|
Worked a charm!
Thanks guys1 _________________ ]8P |
|
Back to top |
|
|
|