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

10h
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
20h
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.
1d
awarded  Nice Answer
1d
comment How to append multiple lines to a file with bash
They're not related; they're two different, unrelated additional possibilities
1d
revised Using OpenVPN with systemd
update status of bugs
1d
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)
Sep
9
comment can you recover lvm metadata without access to /etc/lvm/?
sanity check, what does file -s /dev/mapper/cryptManjaro show? Just to make sure your file recognizes LVM PVs.
Sep
9
comment can you recover lvm metadata without access to /etc/lvm/?
What about file -s /dev/sdb5? Does that say its an LVM2 PV? If so, it probably didn't wipe them.
Sep
9
comment can you recover lvm metadata without access to /etc/lvm/?
The config in /etc/lvm is what the LVM tools are using to decide if they're allowed to look at that PV. I guess next would be to add a few -v's to that pvdisplay, and look through that output to see what it's saying about /dev/sdb5. I suspect your data (and prior LVM setup) is perfectly fine, you just have some LVM config that is telling the machine not to read it.
Sep
9
comment can you recover lvm metadata without access to /etc/lvm/?
Maybe they set up some LVM filter... Does grep -P '^\s*filter' /etc/lvm/lvm.conf give anything?
Sep
9
comment can you recover lvm metadata without access to /etc/lvm/?
You missed the argument to pvdisplay. sudo pvdisplay /dev/sdb5. I presume /dev/sdb is where the Mint install you're trying to recover lives? If not, which disk does it live on?
Sep
9
comment can you recover lvm metadata without access to /etc/lvm/?
What do you get from sudo pvs and pvdisplay /dev/sdb5?
Sep
9
comment Repeat Last N commands
-e cat leads to printing the executed command twice (once by cat, then again by the shell). -e true avoids this.