Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]inode exhaustion - need help recovering the install
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
stardotstar
l33t
l33t


Joined: 10 Feb 2006
Posts: 887
Location: 2074/SYD/NSW/AU

PostPosted: Fri Jul 04, 2008 12:18 am    Post subject: [SOLVED]inode exhaustion - need help recovering the install Reply with quote

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
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22660

PostPosted: Fri Jul 04, 2008 2:12 am    Post subject: Reply with quote

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
View user's profile Send private message
desultory
Bodhisattva
Bodhisattva


Joined: 04 Nov 2005
Posts: 9410

PostPosted: Fri Jul 04, 2008 2:22 am    Post subject: Reply with quote

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
View user's profile Send private message
stardotstar
l33t
l33t


Joined: 10 Feb 2006
Posts: 887
Location: 2074/SYD/NSW/AU

PostPosted: Fri Jul 04, 2008 5:32 am    Post subject: Reply with quote

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
View user's profile Send private message
stardotstar
l33t
l33t


Joined: 10 Feb 2006
Posts: 887
Location: 2074/SYD/NSW/AU

PostPosted: Fri Jul 04, 2008 10:05 am    Post subject: Reply with quote

Worked a charm! :)

Thanks guys1
_________________
]8P
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum