View previous topic :: View next topic |
Author |
Message |
linuxsir320 n00b
Joined: 11 Mar 2010 Posts: 26
|
Posted: Mon Apr 19, 2010 3:26 am Post subject: btrfs:is it possible to place root filesystem to a subvolume |
|
|
For example, device "/dev/sda2" is formatted to btrfs, and some subvolumes are created, such as root, home etc.
Is it possible to make root subvolume act as root filesystem ? |
|
Back to top |
|
|
Veldrin Veteran
Joined: 27 Jul 2004 Posts: 1945 Location: Zurich, Switzerland
|
Posted: Mon Apr 19, 2010 8:10 am Post subject: |
|
|
short answer yes, it is.
longer answer:
you need to adapt your grub config
e.g
Code: | title 2.6.32-gentoo3-1g - Man-Eating Seals of Antiquity
kernel (hd0,0)/linux-2.6.32-gentoo3-1g root=/dev/sda2 rootflags=subvol=system |
where system is the subvol for root.
cheers
V. |
|
Back to top |
|
|
linuxsir320 n00b
Joined: 11 Mar 2010 Posts: 26
|
Posted: Mon Apr 19, 2010 9:36 am Post subject: |
|
|
Veldrin wrote: | short answer yes, it is.
longer answer:
you need to adapt your grub config
e.g
Code: | title 2.6.32-gentoo3-1g - Man-Eating Seals of Antiquity
kernel (hd0,0)/linux-2.6.32-gentoo3-1g root=/dev/sda2 rootflags=subvol=system |
where system is the subvol for root.
cheers
V. |
Thanks, I will try.
By the way, can btrfs be used everyday ? |
|
Back to top |
|
|
Rexilion Veteran
Joined: 17 Mar 2009 Posts: 1044
|
Posted: Tue Apr 20, 2010 7:49 am Post subject: |
|
|
linuxsir320 wrote: | Thanks, I will try.
By the way, can btrfs be used everyday ? |
I heard that the ODF (on-disk-format) is now kept stable as much as possible. It's up to you to consider it stable enough |
|
Back to top |
|
|
|