This is the blog of John Dulaney, a hacker of Fedora, SCAdian, player of Music, blacksmith, sailor, and consumer of Bacon.
Mucking about with btrfs
Today I changed one of my partitions over to btrfs (1)(2). At first I had trouble getting mkfs to work, but then it was pointed out to me that the tools to actually do btrfs are not installed by default unless the filesystem is selected at install time (thanks fenrus02 for pointing out what should have been obvious, DOH!).
So far, I’ve had no issues and I have dumped a good 11 GB on it.
For those that are interested, the (very easy) steps are as follows (/dev/sda3 was the partition I used):
- su – (easier to just do this since there are several steps that require root permission)
- yum install btrfs-progs
- umount /dev/sda3
- mkfs -t btrfs /dev/sda3
- blkid to get the new uuid for the drive
- edit /etc/fstab to automatically mount where I wanted it (include the new uuid and, in my case, replace ext4 with btrfs)
- mount /dev/sda3 /home/jdulaney/Media
- You may need to edit the permissions for Media (or whatever mount point you go with)
- You’re done!
So far, I’ve had zero errors, and I’ll probably start converting the rest of my file system shortly.