Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
anthonypants
May 6, 2007

by Nyc_Tattoo
Dinosaur Gum

echinopsis posted:

imma keep being nice and generous until its no longer needed or wanted


people might call me a fool. but shes not the using type. and my kids are going to benefit. they matter the most
why do you believe that are you able to assess whether it is needed or wanted

Adbot
ADBOT LOVES YOU

echinopsis
Apr 13, 2004

by Fluffdaddy

Sagebrush posted:

this is a legal and mental distinction, not an emotional one

you're divorced. sorry that it happened this way. lots of possible reasons, including "got married too young" and "was incomprehensibly naive about romantic relationships" and also "took no one's cautionary advice, ever" but you should probably start fresh from this position instead of hanging onto the threads you have left.

we have kids together dude, that we want to be well involved with

anthonypants posted:

why do you believe that are you able to assess whether it is needed or wanted

communication

for example there is a poo poo load of yard work around this property whereas I have none. we agree that we want the kinds to have a backyard and stuff. so I say "feel free to ask for me help to do some gardening or taking green waste to the dump thjis weekend"

our kids will se that we are still able to be produtive adukts about all of this



like maybe yhoure all right, but I just dont really see that the problem is. help until its no longer needed or wantd. im too lazy to martyr muself

cinci zoo sniper
Mar 15, 2013




:cripes:

RISCy Business
Jun 17, 2015

bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork
Fun Shoe
i moved all my stuff to gandi. its good

RISCy Business
Jun 17, 2015

bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork
Fun Shoe
all the domains i never use except as mail forwarders are lovingly cradled in their arms

spankmeister
Jun 15, 2008






echinopsis posted:

we have kids together dude, that we want to be well involved with


communication

for example there is a poo poo load of yard work around this property whereas I have none. we agree that we want the kinds to have a backyard and stuff. so I say "feel free to ask for me help to do some gardening or taking green waste to the dump thjis weekend"

our kids will se that we are still able to be produtive adukts about all of this



like maybe yhoure all right, but I just dont really see that the problem is. help until its no longer needed or wantd. im too lazy to martyr muself

Maybe you should dig a well.

Schadenboner
Aug 15, 2011

by Shine

spankmeister posted:

Maybe you should bring her a printer

Colonel Taint
Mar 14, 2004


gently caress.

I have a home linux server that maybe a year or so ago, I decided I would make a backup of its boot disk by just dd cloning it. This worked fine, and I could readily boot from the alternate disk and everything would function as normal.

Also about a year ago maybe a bit less than that, I first encounter a problem with the server that it fails to boot some percent of the time - I never actually calculated what percent because I would stop rebooting it after it had a successful boot. It would always come on after a few tries though, and it being on 24/7, this didn't really matter too much.

So today there was a power outage and I finally got frustrated enough to try to debug the problem. I actually had to hook up a null modem/USB<->serial cable to debug it because it would basically completely poo poo the bed when it failed.

In any case after like 2 hours, it turned out that even though bios was booting the correct disk, linux was mounting the root partition from the backup partition, which had old kernel modules that wouldn't load with the newer kernel that was present on the main disk (because this is arch linux and there's a new kernel like every week). This was happening because /dev/sda (the backup) and /dev/sdd (the main) were being assigned inconsistently at startup - the main was coming up as /dev/sda and vice-versa.

So I guess what I'm saying is, if your OS is indeed a piece of poo poo, make sure you're at least using UUIDs in your /etc/fstab.

Edit: Actually lmao I don't know what the gently caress.

I thought it was the issue because it booted the first time after changing it. But I must have changed the wrong disk because the active fstab is using /dev/sda

And the best part is /dev/sdd is not present in /dev

Edit2: the backup was actually showing up at /dev/sde

Also, the UUIDs on the partitions were the same on both disks because I used dd to do the backup so even just fixing fstab wouldn't have fixed it.

Colonel Taint fucked around with this message at 03:07 on Jan 13, 2018

DrPossum
May 15, 2004

i am not a surgeon
no comp[uters, no problesm

Notorious b.s.d.
Jan 25, 2003

by Reene

Colonel Taint posted:

gently caress.

I have a home linux server that maybe a year or so ago, I decided I would make a backup of its boot disk by just dd cloning it. This worked fine, and I could readily boot from the alternate disk and everything would function as normal.

Also about a year ago maybe a bit less than that, I first encounter a problem with the server that it fails to boot some percent of the time - I never actually calculated what percent because I would stop rebooting it after it had a successful boot. It would always come on after a few tries though, and it being on 24/7, this didn't really matter too much.

So today there was a power outage and I finally got frustrated enough to try to debug the problem. I actually had to hook up a null modem/USB<->serial cable to debug it because it would basically completely poo poo the bed when it failed.

In any case after like 2 hours, it turned out that even though bios was booting the correct disk, linux was mounting the root partition from the backup partition, which had old kernel modules that wouldn't load with the newer kernel that was present on the main disk (because this is arch linux and there's a new kernel like every week). This was happening because /dev/sda (the backup) and /dev/sdd (the main) were being assigned inconsistently at startup - the main was coming up as /dev/sda and vice-versa.

So I guess what I'm saying is, if your OS is indeed a piece of poo poo, make sure you're at least using UUIDs in your /etc/fstab.

Edit: Actually lmao I don't know what the gently caress.

I thought it was the issue because it booted the first time after changing it. But I must have changed the wrong disk because the active fstab is using /dev/sda

And the best part is /dev/sdd is not present in /dev

Edit2: the backup was actually showing up at /dev/sde

Also, the UUIDs on the partitions were the same on both disks because I used dd to do the backup so even just fixing fstab wouldn't have fixed it.

a dd backup is trash unless the disk was un-mounted while you read it

Notorious b.s.d.
Jan 25, 2003

by Reene
if you want a crash consistent backup on Linux step one is to create an lvm snapshot

doesn’t matter what backup tool you are using. step one is the snapshot.

Tankakern
Jul 25, 2007

i think the main problem is that cloning a disk also clones the uuid, so who the gently caress knowns what disk linux will mount if they look virtually identical

spankmeister
Jun 15, 2008






sounds like op has no idea what their doing

Farmer Crack-Ass
Jan 2, 2001

this is me posting irl

spankmeister posted:

sounds like op has no idea what their doing

hell, same

Notorious b.s.d.
Jan 25, 2003

by Reene

Tankakern posted:

i think the main problem is that cloning a disk also clones the uuid, so who the gently caress knowns what disk linux will mount if they look virtually identical

yes if you are using software raid-1 or doing dd backups, you can't mount by uuid or label anymore, for obvious reasons

Notorious b.s.d.
Jan 25, 2003

by Reene
colonel taint's larger problem is that his backup strategy cannot work. that backup volume is probably corrupt as hell. he is fortunate the boots failed!

Colonel Taint
Mar 14, 2004


I mean what is the actual problem with that though? Aside from confusion from the duplicated uuids. The backup actually booted and functioned fine when I tested it originally - it technically functioned as designed even when the boots were failing, just the kernel modules weren't matching the kernel version and a basically nothing could load because of that.The server doesn't really do much of anything and pretty much everything written (except for system updates and logs) is on a different mdm array. I'd sync the system before doing dd so I would at most expect maybe some messed up logs. I realize it's generally "bad practice" and if this was something super important or someone else's server, I would probably just blindly take the advice but as it is it's just easy to sync and dd the thing now and then.

This is admittedly a dumb hill to die on, but I don't know. Enlighten me.

Notorious b.s.d.
Jan 25, 2003

by Reene
literally any filesystem data OR metadata change will be a dangerous write that could corrupt the filesystem. changes can remain un-flushed for days or weeks on a linux system. you made a copy of whatever happened to live on disk, and each block comes from a different time domain

you could epically hose your poo poo, and not notice until it's too late. (most notably, the backup disk should NOT have booted cleanly -- it should have dumped to single user because it's un-clean with errors that require manual intervention. booting successfully, in this case, is a sign of pervasive corruption. oops.)

either do your backup offline (i.e. from a livecd) or take an lvm snapshot

Notorious b.s.d.
Jan 25, 2003

by Reene
like obviously nobody cares if a few blocks of log mesages in the middle of a file are corrupt in the backup. that's no big loss

having the directory trees corrupted, on the other hand, is really bad

Notorious b.s.d.
Jan 25, 2003

by Reene

Notorious b.s.d. posted:

like obviously nobody cares if a few blocks of log mesages in the middle of a file are corrupt in the backup. that's no big loss

having the directory trees corrupted, on the other hand, is really bad

looking at my own post we have to back the truck up a little bit

the goal for both the filesystem implementation and your backup strategy is crash consistency.

if the system crashes suddenly, due to a power outage, the filesystem driver is designed to ensure that all filesystem structures are consistent. filesystem data may be corrupted -- un-flushed data pages will be absent or inconsistent inside files -- but the filesystem itself will make sense and be parse-able by fsck or the driver.

partly this is ensured by journalling the filesystem metadata. metadata is flushed to disk constantly, whether you want it to be or not. furthermore the kernel provides barriers for use by fs drivers so that nothing critical can ever be written without a flush, even by accident.

when you start your dd backup at t+0, metadata updates will continue in the background, whether you like it or not. you may read a given directory structure at t+30, and then read it again at t+60, because in the background it was copied from one fs extent to another.

the filesystem's anti-corruption strategy actively works against you to corrupt your backup. older filesystems did not do this, because it was dangerous. modern filesystems assume that all backups are taken from crash-consistent images. they make this assumption because it is, in the years 1995 and later, much easier to take a snapshot than it was in, say, 1985

do not pretend it is 1985

take an lvm snapshot and image that, not the disk. or do it offline, from a livecd.

Notorious b.s.d. fucked around with this message at 19:30 on Jan 13, 2018

Tankakern
Jul 25, 2007

nbsd's right here. you at least have to mount stuff ro if you want to dd it

Jimmy Carter
Nov 3, 2005

THIS MOTHERDUCKER
FLIES IN STYLE
echi just get a Synology DS218+ (or 418), shove some 10TB drives in there, format as BTRFS, put Plex on it and call it a day.

Notorious b.s.d.
Jan 25, 2003

by Reene

Tankakern posted:

nbsd's right here. you at least have to mount stuff ro if you want to dd it

re-mounting ro will not alter kernel processes, like the fs driver. if you are not going to take an lvm snapshot, the fs needs to be fully un-mounted

i really do not get the resistance to lvm snapshotting. this technology is 20 years old on linux, 30 years old on legacy unix. it is just The Way Things Are Done, and always have been.

Notorious b.s.d.
Jan 25, 2003

by Reene
also just in general i find file-level backups to be much more useful than block-level, because it makes partial restores a lot easier

your pro strat for home linux backup is lvm snapshot + bacula or tar or whatever to actually do the backup. (if you put a little extra effort in, you can have bacula automate the whole process: create snapshot, refresh backup, delete snapshot)

Colonel Taint
Mar 14, 2004


In my case I can't lvm snapshot because the partitions are not lvm.

anthonypants
May 6, 2007

by Nyc_Tattoo
Dinosaur Gum

Colonel Taint posted:

In my case I can't lvm snapshot because the partitions are not lvm.

Notorious b.s.d.
Jan 25, 2003

by Reene

Colonel Taint posted:

In my case I can't lvm snapshot because the partitions are not lvm.

yeah you hosed that up real bad. you will never have reliable backups without lvm. i would fix that.

the best part is you had to go out of your way to gently caress it up -- red hat and ubuntu both default to lvm for obvious reasons

Notorious b.s.d.
Jan 25, 2003

by Reene
double plus fun: lvm is also the subsystem that makes it possible to migrate a running system from one disk to another

so you can't even live-convert your system because you hosed it up lol

Tankakern
Jul 25, 2007

Notorious b.s.d. posted:

re-mounting ro will not alter kernel processes, like the fs driver. if you are not going to take an lvm snapshot, the fs needs to be fully un-mounted

i really do not get the resistance to lvm snapshotting. this technology is 20 years old on linux, 30 years old on legacy unix. it is just The Way Things Are Done, and always have been.

don't just make things up, dd from ro is fine. the issue people have with lvm is that it's overengineered and convoluted as gently caress if you just use it on a laptop/desktop harddrive. first PVs, then LVs, and _then_ the loving fs

screw that

Tankakern
Jul 25, 2007

but why not just use rsync or tar for backup, tar has finally catched up and is able to back up xattrs now too, making backups usable. bind-mount root to somewhere and backup from there so you dont have to exclude 100 dirs

Colonel Taint
Mar 14, 2004


Yeah it's an arch linux install so setting up the lvm stack and making it bootable is a bunch of extra steps. I hadn't thought of bind-mounting the fs for tar but that does make it a lot easier so maybe I'll just do that.

freeasinbeer
Mar 26, 2015

by Fluffdaddy
lvm is bad and lvm snapshots are the worst.

fishmech
Jul 16, 2006

by VideoGames
Salad Prong
just use windows which is easy to snapshot for reliable backups

freeasinbeer
Mar 26, 2015

by Fluffdaddy
it’s as painful to setup as lvm in some respects but zfs beats the pants off of lvm after that. snapshots and backups become _too_ easy.

btrfs can’t seem to get its poo poo together and the zfs licensing stuff is so stupid. supposedly there is some internal traction to relicense it but lol oracle.

bcachefs seems fun with how you can tier storage but it’s super alpha.

Tankakern
Jul 25, 2007

bcachefs, like zfs on linux, is a one man show, and i wouldn't touch it with a 10 feet pole

btrfs owns, if you can bother to janitor your fs (like if you think zfs is an alternative), then really, go for btrfs. the stuff people mention like it doesn't handle going full or it eating data etc is isses from years ago, it's really production ready now. facebook has the devs for it now

re: tar, remember to put on the args "--xattrs --xattrs-include=\*" to have ping work after restoring from backups (caps and selinux metadata and such is all xattrs)

anthonypants
May 6, 2007

by Nyc_Tattoo
Dinosaur Gum
didn't redhat/centos remove btrfs or something

Tankakern
Jul 25, 2007

yeah, to make their own fs management system replacing lvm

suse still is all in on btrfs

cinci zoo sniper
Mar 15, 2013




friend's mac keeps only one window active at the time, wtf? for example, opening a ppt attachment in outlook will cause all windows other than ppt minimise

Colonel Taint
Mar 14, 2004


possibly the dock got set to single-application mode? http://osxdaily.com/2010/06/07/enable-single-application-mode-in-mac-os-x/

Adbot
ADBOT LOVES YOU

cinci zoo sniper
Mar 15, 2013





that is what ive thought of but they are an extremely non-technical user who is unlikely to have ever gone to terminal for anything

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply