Skip to content

u/brandflasks

In this archive from Mar 2014 to Jun 2020

0
posts
12
comments
0
media
48
score

I used btrfs for quite a while (2-3 years as primary fs) and had no issues with it until I ran out of space (semi-relevant to this post I suppose). I managed to fill up the entire drive, which wouldn't be so bad except that somehow this also took up all of the metadata storage. This meant that I couldn't even delete files because btrfs couldn't store the deletion. My attempts at salvaging my mistakes ended up corrupting the filesystem.

I take this to be my own ignorance of how to use it, so I'll probably trickle back eventually. For now, LVM is easy enough to follow and is incredibly well supported. I really like my use case on my desktop where I set my SSD to have a cache volume for speedier access to the slower HDD.

2 points

I recently moved all of my installs over to LVM for the flexibility of resizing partitions, snapshots, and encryption. I originally started with bare ext4 partitions, then btrfs, and now ext4 on LVM. If you have a big enough external hard drive, it's easy enough to rsync everything to it from a live usb, adjust partitions, and rsync back so don't worry about changing your mind later!

I'm pretty comfortable with about 40 GB root partition. I find I had to clean it too often when it was around 30 GB as I believe the wiki suggests. Based on what you said about PDFs and TeX, I'm guessing you're in the sciences. If you plan on using anything like Mathematica, LabView, or similarly hefty software you might want to have a larger root or a separate /opt partition. And a note on TeX: I have it installed locally in my home folder because I use the Texlive method of updating rather than pacman. Rolling release is great but when that one package changes and your document doesn't want to compile anymore at 1 AM, it's hell.

Of course this brings us to the question of why bother with separate partitions in the first place? I don't have an answer for that... when I started Arch I just used one big partition and as I learned how to do more things I adjusted my layout.

16 points

I feel like I've given BTRFS enough of a chance, but I just can't use it anymore. Now, this is most likely not the case for many of the users here and I can see how the issues I experienced stem from some mistakes I've made (filling up the drive, leaving no room for metadata, which also meant I couldn't delete anything...), but that's exactly my issue. I feel that every time I think I have BTRFS figured out, I missed one small detail. And it won't be the same day, or even the same year, but eventually that small detail will come back to bite me. "Oh!" I think, "I have all these snapshots that I can just boot into." But it's somehow more complicated than that and my snapshots don't boot. And I don't exactly remember how I set a few things up because it's been so long.

Again, this is not everyone's experience and it seems that some people really like it, but it just isn't for me. I wiped my laptop (which was using BTRFS for ~2-3 years) and put ext4 on LVM. Everything seems fine so far -- ext4 was my go-to filesystem for years before and LVM seems popular enough.

Semi-related: I recently followed this blurb on the wiki (Rsync#Full_system_backup) and wow... this was just such a fast and simple process. I rsync'd everything to an external HDD, booted an Arch live USB, formatted my hard drive, rsync'd back on a new filesystem, genfstab, arch-chroot, pacman -S grub, grub-mkconfig, a couple of umounts, reset and boom right where I left off. If you end up on a filesystem that you dislike, it shouldn't be too hard to switch later (assuming you have a large enough external HDD).

1 points

Is there an issue with the long term support releases? It looks like the latest version, 18.1, is supported until 2021. It might not get any big new features, but at least it should be secure and continually receive updates for 5 years.

2 points

You can create a systemd unit file (Type=oneshot) to activate after your usb is mounted (Requires=usb.mount, After=usb.mount). Create a bash script with the rsync options you want and then execute that in the unit file (Exec=/path/to/custom_rsync_script). I would save this unit file in ~/.config/systemd/user and then enable it as a user service (systemctl --user enable usbrsync.service) because I imagine you'll only want it to run while you are logged on.

Something like this:

[Unit] Description=Rsync USB drive Requires=usb.mount After=usb.mount

[Service] Type=oneshot ExecStart=/path/to/script

[Install] WantedBy=default.target

Full disclosure: I'm on my phone right now so this idea might not work but perhaps someone more knowledgeable might chime in!

5 points

I check the source line as well and sometimes scroll down to the prepare, build, and package if it's an obscure piece of software with little votes online. I should make a better habit of checking the install file, so you're better than me there.

I actually just started reviewing them in detail. I should have previously, but I suppose I didn't really know how. I recently started maintaining a few of my own packages which gave me a fantastic overview of what the PKGBUILD is actually doing and what it's supposed to do. I highly recommend creating your own package. It could be just a simple bash command that you created and you won't be submitting to the AUR, but it will be immensely helpful in learning how it all comes together.

I'm not sure if this will help, but running namcap on the produced package prior to installing might alert you to things that are out of place. I don't think it catches malicious things though and might only be useful if you're creating the package for submission to the AUR.

8 points

This isn't directed at OP, but in general:

Is there a reason why you couldn't just cp everything except home to the SSD and then edit fstab to just mount each drive appropriately by UUID?

I feel like this would save the hassle of having to clone an entire drive or partition.

Edit: and also where the bootloader points to.

2 points

I tried installing it at some point the other way around, but unfortunately, I could never get the Windows install to detect the existing EFI partition. Lucky you, I suppose.

I have the same issue of Windows placing itself first in the EFI boot entries, but I fixed the problem by changing the Windows EFI entry to instead point to gummiboot. In an administrator command prompt in Windows:

mountvol S: /S
S:
bcdedit /set {bootmgr} path \EFI\gummiboot\gummiboot.efi ## or whatever your gummiboot path is
bcdedit /set {bootmgr} description "Windows gummiboot"

Source

2 points

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.