23,314 reputation
24076
bio website
location Virginia
age 31
visits member for 4 years, 1 month
seen 14 mins ago

12m
revised Data integrity after GPT restore on Mdraid configured disk
added 2 characters in body
8h
comment How to determine which displays are enabled/disabled
I don't have an LVDS display to disable on this machine to check, but I suggest xrandr > on; xrandr --output LVDS --off; xrandr > off; diff -dbU3 on off. Add in --verbose if needed. I'm pretty sure xrandr actually tells you.
23h
comment Passing environment variable to PHP on the command-line
Oh, and: stackoverflow.com/questions/3780866/why-is-my-env-empty
23h
comment Passing environment variable to PHP on the command-line
Yes. Most likely, you need to fix your setting of variables_order and/or use getenv(). Accessing the Unix environment variables (from a particular programming language, i.e., PHP) should be on-topic on SO... Though I wouldn't be surprised if there is a duplicate there.
23h
comment Passing environment variable to PHP on the command-line
Something in PHP, because even without your extra DB environment variable, there should be plenty of them.
23h
answered List File Space Ownership By User
1d
answered Data integrity after GPT restore on Mdraid configured disk
1d
comment Installing Cyanongen Mod from a linux host
Which device? I've done it on my Nexus 4. You flash a koush recovery or TWRP, boot to recovery, wipe, then sideload the zip. wiki.cyanogenmod.org/w/Install_CM_for_mako
1d
comment Data integrity after GPT restore on Mdraid configured disk
Which version superblocks are you using? Either mdadm -D /dev/mdX or mdadm -E /dev/sda will tell you (in the "version") field.
2d
awarded  Nice Answer
2d
comment How to append multiple lines to a file with bash
They're not related; they're two different, unrelated additional possibilities
2d
revised Using OpenVPN with systemd
update status of bugs
2d
revised What does “apt install” do?
deleted 171 characters in body
Sep
12
comment How to SFTP through proxy if there is no netcat?
Do you just not have root, or are you actually prohibited from installing any software? If its just lack of root, you could install netcat in your home directory.
Sep
10
comment make: *** [all] Error 2
@user000001 you should post that as an answer.
Sep
10
comment can you recover lvm metadata without access to /etc/lvm/?
@user17130 odd about that fsck. Anyway, keep that image that you hopefully took around for a bit, just in case. Also may want to check what you used to recover vs. what's in /etc to be sure.
Sep
9
answered can you recover lvm metadata without access to /etc/lvm/?
Sep
9
reviewed Close Vim - Cursorline turns on after saving a remote file
Sep
9
comment can you recover lvm metadata without access to /etc/lvm/?
OK. Note that there will be a bunch of them. LVM keeps old ones, they should have date stamps so you can find the newest. You should be able to feed that to vgcfgrestore. Personally, I'd make an image of /dev/sdb5 first, just in case. (Note: I've never actually done that restore before myself; centos.org/docs/5/html/Cluster_Logical_Volume_Manager/… has some docs which suggest you may need a pvcreate with appropriate options as well)
Sep
9
comment can you recover lvm metadata without access to /etc/lvm/?
:-( ... Ok, that sounds like it did wipe the LVM data off the disk. Any chance you have a backup of /etc/lvm from Mint somewhere? Otherwise, maybe you're lucky and it was lazy, and the config is still there. sudo strings /dev/sdb5 | less might give an LVM config. Should start out with your VG name and a open brace ({). Actually, strings will find the backup out of /etc as well, but that will be much further in. (note: be careful pasting anything from that strings output, it will contain your data! Which you probably want to keep confidential)