Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
(solved) Problem updating a not so old gentoo(2 months old)
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
keenblade
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1087

PostPosted: Tue Jul 02, 2013 4:58 am    Post subject: Reply with quote

zmedico, I have solved the problem with the logic I learned from you. Thank you very much.
eyoung100, thanks for your suggestion. I was about to do it, but fortunately I did not have to.
TomWij, thanks for your help, suggestions and the time you spend.
I love this community. Both friendly and knowledgeable people are all around us.
_________________
Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1"
Back to top
View user's profile Send private message
keenblade
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1087

PostPosted: Tue Jul 02, 2013 5:06 am    Post subject: Reply with quote

zmedico wrote:
I do all of my big updates in a chroot (a btrfs snapshot of my root fs), so I never have to worry about stuff like that.

I am very interested in this. Do you have a tutorial or doc about doing updates in chroot with btrfs snapshot? Is btrfs matured enough to be used as main fs?
_________________
Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1"
Back to top
View user's profile Send private message
zmedico
Developer
Developer


Joined: 02 Jan 2004
Posts: 353
Location: California USA

PostPosted: Tue Jul 02, 2013 7:01 am    Post subject: Reply with quote

keenblade wrote:
zmedico wrote:
I do all of my big updates in a chroot (a btrfs snapshot of my root fs), so I never have to worry about stuff like that.

I am very interested in this. Do you have a tutorial or doc about doing updates in chroot with btrfs snapshot?


No, but it's pretty simple to do once you've learned how to use btrfs. What I do is create a subvolume for my root fs, and set that as the default subvolume. The default subvolume is the one that is mounted by default. You can also use rootflags=subvol=foo in your kernel parameters to choose a different subvolume at boot time if necessary. To access all of the subvolumes, you just mount the device somewhere with mount option subvol=/ (btrfs allows you to mount the same device on multiple mount points simultaneously).

keenblade wrote:
Is btrfs matured enough to be used as main fs?


It's very mature and stable for common use cases. I have noticed some mis-configurations that make it unstable, leading to a hung system, but typically not data loss. The problems I've experienced are limited to two specific mis-configurations:

  • when the "discard" mount option is enabled for a device that does not support TRIM
  • when an extremely large filesystem (1TB or more) is mounted with "space_cache" mount option _not_ enabled


As long as I avoid these 2 misconfigurations, it's very reliable for me. I trust it with all my data (of course I do backups).
_________________
Zac
Back to top
View user's profile Send private message
keenblade
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1087

PostPosted: Tue Jul 02, 2013 10:14 pm    Post subject: Reply with quote

Zac, thanks again. I'll play with btrfs and chroot on a test machine.
_________________
Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1"
Back to top
View user's profile Send private message
steveL
Watchman
Watchman


Joined: 13 Sep 2006
Posts: 5153
Location: The Peanut Gallery

PostPosted: Wed Jul 03, 2013 7:50 am    Post subject: Reply with quote

Nice one zmedico. Added to favourite tips page (under Advanced Usage ;)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
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