7,869 reputation
1918
bio website github.com/frostschutz
location
age 32
visits member for 1 year, 6 months
seen 56 mins ago

9h
comment Secure the content of a hard disk
It's a Custom Initramfs that essentially does cat or grep /proc/ or /sys/ ... | sha512sum | cryptsetup luksOpen .... You'll have to decide for yourself what to use, any variable changes and the key becomes invalid. Have a backup passphrase for maintenance. For stuff like Mac Addresses to become accessible, the kernel needs the network driver in Initramfs stage.
22h
answered Secure the content of a hard disk
1d
comment Upgrading Linux (Fedora) with LUKS encrypted volume
Usually the clean approach is to let the system update itself and use DVD only for new installs. You should have a backup in any case.
1d
comment Reassemble mdadm-raid5
The used dev size is not important, unless the missing drive happens to be smaller than all the others or you were for some reason deliberately not using the full device size. It's odd that you specify this and not any of the other more important variables (metadata version, offset, ...). Glad it worked either way.
Jul
26
reviewed Reject suggested edit on I recently cloned my drive, while booting I have to wait at this screen which has a number of error messages
Jul
25
answered How to use pv with dd?
Jul
25
comment Reassemble mdadm-raid5
Well, good luck.
Jul
25
comment Reassemble mdadm-raid5
1) 2048 sectors = 1MiB. 2) It creates a new raid with new metadata, regardless of what was there before. 3) --force won't work. It only ignores the event count, it does not accept hard failed drives or drives that turned spare. Unfortunately mdadm does not have any smart recovery options.
Jul
25
revised Reassemble mdadm-raid5
added 106 characters in body
Jul
25
answered Reassemble mdadm-raid5
Jul
25
comment How to speed up migration from Raid 5 to Raid 6 with mdadm?
Those tips should be the correct answer, at least, it helped me a lot with my raid56 performance (bump up readahead and cache, disable ncq).
Jul
25
comment Encrypting drive which has content
Wiping a disk with urandom takes ages. Encrypting it with a random key and then wiping that with zeroes is considerably faster, and if you're OK with pseudorandom data you can just use shred -n 1.
Jul
25
answered Encrypting drive which has content
Jul
24
reviewed Approve suggested edit on How do I hide grub boot menu unless shift is pressed?
Jul
23
answered How to verify a CD against an ISO image?
Jul
23
comment Recover data from a BTRFS RAID5
If there is a kernel panic involved in those lockups you should post it along with your question. Otherwise I'd update kernel and/or put all disks in another box just in case it's the hardware... if it still locks up (and silently at that) you should probably talk to the btrfs devs...
Jul
21
comment Is it reliable to assemble md from two machines at the same time
Forget the filesystem layer, the md layer itself is not fine with it. At least not in a standard setup. Maybe it could work for --build (raid without metadata that never syncs), I don't know. Maybe you should ask the devs on linux-raid mailing list for this.
Jul
21
comment Is it reliable to assemble md from two machines at the same time
It would mess up badly.
Jul
18
comment Ctrl-S doesn't work in rtorrent when accessed via screen. Can't start torrents
screen's flow toggle C-a C-f might help with these shortcuts. In -flow mode they may be passed on to the program.
Jul
16
comment Backed up over wrong hard drive
It was supposed to imply that if you do not have backups, your data is already lost, even if you don't know it yet. Be it hardware failure or user error, without backups you just can't recover from anything, and if you can not recover your data is good as gone. The storage that never fails and never forgets data has not been invented yet. If your data is important to you, you have to have backups of it, from the very beginning.