View previous topic :: View next topic |
Author |
Message |
keenblade Veteran
Joined: 03 Oct 2004 Posts: 1087
|
Posted: Tue Jul 02, 2013 4:58 am Post subject: |
|
|
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 |
|
|
keenblade Veteran
Joined: 03 Oct 2004 Posts: 1087
|
Posted: Tue Jul 02, 2013 5:06 am Post subject: |
|
|
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 |
|
|
zmedico Developer
Joined: 02 Jan 2004 Posts: 353 Location: California USA
|
Posted: Tue Jul 02, 2013 7:01 am Post subject: |
|
|
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 |
|
|
keenblade Veteran
Joined: 03 Oct 2004 Posts: 1087
|
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Wed Jul 03, 2013 7:50 am Post subject: |
|
|
Nice one zmedico. Added to favourite tips page (under Advanced Usage ;) |
|
Back to top |
|
|
|