I have two WD 3tb green caviars. They're not very good. And some blue-light special 120gb Kingston SSD I picked up last year on Amazon for $100. I almost never use the greens though. I usually just do everything in tmp. I also blue-light specialed 24gbs of ram, and I never have enough going on to come anywhere near that kind of use.
But my backup is just an old 1tb wedged in between some shirts in the closet...
@mikeserv I don't even recall what is in this machine. 4x ST2000DL003-9, 2xST31000526SV, whatever those model numbers equate to. Also have 24 GB RAM and I use it all in analysis code.
I have a monitor connected to my machine that displays odd behavior when entering power saving sleep mode. When entering sleep, the monitor will alternate between blanking and displaying a default desktop wallpaper (the KDE 4 default, which is not what I'm using). This monitor is connected to m...
@casey - about the monitor thing, it might have to do with edids. Or, enough possibly to be solved that way. I disabled all extensions in my edid for nvidia 640gtx.
@mikeserv I've done some more tinkering (and need to edit the Q) and it looks like the core issue is that the monitor just never goes into power saving mode
I have it at least blanking now, though not sleeping.
It could be the dp-dvi adapter, but it is an active adapter, so it is supposed to work.
I don't mind having the hdmi audio there and always off, but I have one program in particular that borks pulseaudio and somehow gets streams assigned to the hdmi profile. no idea how it does that, and easy to fix. just annoying.
As you note - you can't use Xinerama or TwinView and get X-compositing on your screens. What you really want to do involves multiple Device entries in xorg.conf for the same device and/or nvidia's mosaic mode. I went through this just the other day after rearranging the living room to accomodate ...
After setting it up I found some old question to answer so I could remember how I did it. I guess, it was kinda like taking notes.
There's a link in that to a very good post that includes a run-once binary. You just little_program <current_edid >dvi_edid
yep, its a pain when you have to beg in comments for the most basic of information
I try to be comprehensive. I've been figuring things out long before SE or even google have existed, so I treat SE more like a last resort than a first.
Yeah. Now I won't settle until I have at least 4 screenshots.
Makes sense to me. I have more fun figuring that stuff out for myself, personally. Plus, I can be pretty skeptical, so I probably won't believe an answer completely until I've proven it to myself anyway.
@polym - you still around?
Your backup question already has a close vote on it for being too broad. It's not mine, but maybe it is a little broad. Can you narrow the focus a little?
unix.stackexchange.com/questions/137820/… Hi All. I think this should be merged into a community wiki. It would be great to have a wiki on architectural issues like this
@Rqomey The concept of CW answers has been shown to not really work in the SE model. If you think you can combine aspects of those different answers into one answer that is more helpful than the others, feel free to have a go at it as a regular answer.
Which backup tools, which I can use via the command line, are the fastest and most reliable? Which has the best compression rate?
What directories should I backup (and are therefore crucial for most systems), apart from my home directory?
1) you're asking two questions, not one 2) what do you want to compress? What type of file? Do you want high compression? Great speed? 3) asking for lists is generally too broad on all SE sites.
Make it as specific as possible. "I want to backup my entire system, including movies, music, text and configuration files. The compressed backup will be stored in X place (which is a Y kind of thing), will be accessed very/not very often. I therefore need speed/compression/whatever. I am currently doing it this way, will that work?"
@polym I edited your question and voted to reopen. It might still be too broad but at least it's only asking a single question now and can be answered with facts not opinion.
You should ask the second question separately.
Actually, your second question is pretty much answered here:
What are the directories one should back up, in order to have a backup of all user-generated files?
From a vanilla debian install, I can do enough apt to get the packages that I want. So if I don't want to backup the entire system, where all in the filesystem do user-generated configuration and...
On a fresh Ubuntu, you usually have these default (empty) folders:
Downloads
Documents
Music
Videos
...
all with special emblems.
BUT, where are these Emblems coming from?, what's telling Nautilus to display these emblems?
Now that Nautilus has dropped Emblems support, I am unable to inspect...
@polym - you really should look at mksquashfs - at least for a full backup. incremental options are pretty much not an option that way though. One way an incremental could work though...
This isn't a very thorough explanation... but if you combine btrfs and mksquash you could possibly develop an incremental solution that resulted in mountable archived filesystems... unix.stackexchange.com/a/123257/52934
In any case, the degree of compression is pretty high depending on your original filesystem. When squashing an image I usually wind up with ~20% the size of the original.
Of course @terdon - it was a good question ... er ... questions in the first place. IT's even better now.
@mikeserv Yeah, if we can take the meta Q&A as an exit poll, it looks like @slm @derobert and I are ahead. Dunno how accurate that is though. I upvoted everyone there for example.
@polym That movie... I remember seeing it in the cinema and when the credits rolled there were simply a few seconds of silence. Nobody moved, spoke or anything. The whole audience was just blown away. Brilliant film. Not sure I want to watch it again, ever, but brilliant.
also if you guys become janitors of Unix SE, do you also have the ability to make coding blocks in color, e.g. like in SO stackoverflow.com/q/24386864/3739455 ?
I consistently see answers quoting this link stating definitively "Don't parse ls!" This bothers me for a couple of reasons:
It seems the information in that link has been accepted wholesale with little question, though I can pick out at least a few errors in casual reading.
It also seems as if...
It might be a wonderful world if all linux installers defaulted to creating one giant partition, putting LVM on that, and then creating all the filesystems at their minimal recommended size, leaving the majority of the LVM disk free. Then provided a very simple tool to do "resize /mount/point +10G".
So many times issues come up because users give their /home 3tb of space, then their root volume fills up and home is 99% free.
@Patrick That would be nice. I'm not sure if its the default, but 'use entire disk and set up LVM' is an option in the Debian installer. I don't think it leaves a ton of space unallocated, but I'm not sure.
And "resize /mount/point +10G" almost exists, it's lvresize vg/lvname -L +10G -r
can zfs or btrfs do a live migration of data from one disk to another? Like if your / is on /dev/sda1, you could migrate it to /dev/sdb1 and then physically remove /dev/sda without shutting down?
btrfs (and I believe ZFS, which I haven't used) is built on the idea of an integrated storage stack: everything from redundancy through volume management through filesystem put into one thing.
Which gives you all kinds of neat things, like you can have your video editor temp file on RAID0, but /etc on RAID1, and some other data on RAID6, all on the same filesystem.
@FaheemMitha btrfs is journaled. I don't think it does audit logging itself (you can use the normal audit logging stuff, of course). It has cheap snapshots, which give you easy rollbacks to earlier versions
We just rolled out a redesign of the community bulletin. The goals were:
To make blog posts, events and featured posts stand out more
To distinguish between featured posts from MSE vs. the site's meta, and SE blog posts vs. site blog posts
While also balancing not overwhelming the page too mu...
@Ramesh if the installer format utility does not give you the option to increase the inode count, then you need to break into the command line and run mkfs by hand.
I'm not sure how to do that exactly in the RHEL installer. It'd make a good question for the site, though (presuming it isn't already asked)
and, I suppose, there isn't a big field labeled 'number of inodes' in the installer :-P
First, let us use the bytes notation to understand the concepts. Now, the actual size of the external HDD was 850GB which translates to 912680550400 bytes.
Block size and fragment size
The block size specifies the size that the file-system will use to read and write data. Here the default bloc...
@Braiam Darn! And all this time I thought it was maintained by programmers! ;)
Just beating my head against it. I have a github repo B that is a clone of another github repo A, and I want to fetch all recent changes in A into B. And I simply can't figure out how to do such a seemingly simple operation, anywhere. :(
Wanna know something weird about that though? Just last night I was playing around with it again - for no particular reason.
I got a list of current directory filenames shell quoted reliably in order of modification time - excluding child directory results like:
ls -dmtp ././* | sed -ne :nl -ne '$!N;s| *\./\./[^/]*/, *||g'" s|'"'|&"&"&|g;s|\n\(\./\./\)| \1|g \|^\(....\).*\1.*\1.*\1.*\1.*\1|!{$!bnl}'" s|\./\(.*[^,]\),* *\$|'./\1'|;s|\./\./|&&|6 s|, *\(\./\./\)\1.*|'|;s|, *\./\./|' '././|gp;q"
Dammit.
I dunno why that doesn't format as code. There's probably a better way to do it with cut or something. But that returns the 5 latest modified files in a directory regardless of whatever special characters their names might contain.
It uses the -m stream option and -d options to mark the beginning of a filename.
@terdon I generally avoid films about drug addiction. Though Trainspotting was quite watchable, though perhaps uncharacteristically upbeat given its subject matter.
I tend to avoid unpleasant films in general. That one was just brilliant is all. And more, well, powerful than unpleasant as such. It's not awful from start to finish.
Well, Brazil is not a pleasant film, for the most part, but is extemely good. And I don't actually find it unpleasant to watch, though some might it so.
I installed the auctex and emacs packages on two Xubuntu 14.04 computers, both of which have been working fine. Emacs itself works fine on both, but now with the auctex package installed, when I load a TeX file (even just an empty one) I have a six second loading time for auctex, wich I have to g...
@polym - that dmesg | aplay thing is pretty cool. I bet you could do some pretty neat stuff in a similar vein with sox and effects. Like, I dunno, autotune it or something.
meh, calculating UTC time is easy... if you are in -4 UTC, just sum 4 hours to your current time, if you are in +4UTC just subtract 4 hours of your current time
@Braiam that requires knowing your UTC offset. That was always a pain when going somewhere like St Johns, NF, Canada. +3:30? are you kidding? just tell me what time I have to wake up to get out of this place please.
And I run into the same problem trying to catch a soccer game in CET or something and not knowing when they transitiotn to summer time. I'd be for abolishing local time and using UTC for everything
Thankfully in aviation we did just that. Everything in UTC, just have to convert to local time for the passengers at the endpoints.
@casey well, that depends on the personality of the individual... I always try to know the off set in the place I am... if I get in trouble I just use this
@Braiam But that's just it, the offset is often not enough. If one of the two locations you are comparing uses DST and the other does not, the time dofference is not stable.
@goldilocks I like it myself, but not everyone I knew shared that view. I was only there once in the "warm" part of the year, most of my visits were mid-February and short 8-10 hour stays.
@casey I've only just been for a week last summer and I was fairly drunk most of the time. I'd like to try living there at some point tho. No doubt the winters are real serious.
When composing a message in mutt, I see the following headers:
From:
To:
Cc:
Bcc:
Subject:
Reply-To:
Fcc: ~/.mail/sent
Mix: <no chain defined>
Security: None
I don't know what the Mix: header is for, and I don't think I will ever need it. Similarly, I will not...
@Creek, I know. I nailed it to one particular folder which is the culprit. I am trying to determine how many files are actually present inside this folder.