Originally posted by oshunluvr
View Post
Announcement
Collapse
No announcement yet.
Disk partitioning and formatting?
Collapse
This topic is closed.
X
X
-
Originally posted by mr_raider View PostThe main advantage for separate home and root is that I can wipe just the root partition in case of a re-install and keep the home partition. How do you do that with sub volumes?Code:btrfs subvolume delete @/
Or; what if you want to re-install but not wipe your old install right away? Just rename the old subvolume and re-install.
Want to make a total backup of your home? Simply copy the subvolume.
Want to preserve your install at it's current state before installing a new program? Take a snapshotCode:btrfs subvolume snapshot @/ @/snapshot1
Code:btrfs device add /dev/sdb /mnt/sda
@Kubuntu_12_04
@Kubuntu_13_10
@Kubuntu_13_10_140315
@Kubuntu_13_10_home
@Kubuntu_14_04
@Kubuntu_14_04_home
@Neptune3_1
@Neptune3_1_home
Each of these installs are bootable, including @Kubuntu_13_10_140315, which is a snapshot I took on March 15,2014 of my 13.10 install.
As you can see the benefits of btrfs are numerous.Last edited by oshunluvr; May 04, 2014, 08:18 AM.
- Top
- Bottom
Comment
-
Originally posted by mr_raider View PostAny quality write up with btrfs and SSDs?
I use btrfs on my server with 4 large hard drives, my desktop with 2 SSDs and 3 HDDs, and my netbook with a very small SSD. All of these systems benefit from different aspects of btrfs.
I wouldn't hesitate to recommend using it, with a couple of exceptions: btrfs does not yet handle swap files via loop mounting (systemd does so you could still do that if desired) and does not handle virtual drives (like VMWare or VirtualBox). My solution to these small limitations is to use a HDD to hold my virtual drive and use a swap partition.
From a pure performance perspective; a full-blown 4-drive RAID0 array is faster and has more available space using properly tuned ext4 than a 4-drive btrfs array using RAID0 for data and RAID1 for metadata, but it's a small difference in speed and file space and not noticeable in real world use. Besides, the work load to create and maintain the RAID array far exceeds the slight benefit IMO.
- Top
- Bottom
Comment
-
I second what Oshunluver says, with one addition: btrfs does not work will with dynamic virtual hds on VirtualBox, but it does work with fixed size virtual drives. I've been using btrfs on Trusty since I installed Trusty when it went Alpha, in January. Zero problems. I experimented a lot with the various btrfs capabilities and add-on tools. The only one I would NOT recommend is apt-btrfs-snapshot, because it creates so many subvolumes, automatically, that allowed to go unfettered it was eating my 360GB HD partition like it was candy. Even restricted to the minimum number of subvolumes (5), it continued to eat up space. The concept that app is based around is nice, but it turns out it is just as easy to do what it does manually, and you have complete control, like recovering from a bad update. There was a large thread created, which Oshunluver started and I added my experiences to, that has lots of info and links.
https://www.kubuntuforums.net/showth...btrfs-snapshot
https://www.kubuntuforums.net/showth...d-a-new-drive!
https://www.kubuntuforums.net/showth...Let-s-upgrade!Last edited by GreyGeek; May 05, 2014, 12:01 PM."A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
– John F. Kennedy, February 26, 1962.
- Top
- Bottom
Comment
-
Originally posted by TeunisLast time I dabbled with btrfs I found out the Hard Way that in a mixed ext4 / btrfs system it wasn't supported/recognised by Grub-update, I assume that's no longer a problem.
- Top
- Bottom
Comment
Comment