I am unable to
Here is what I have done :
What's wrong in the above ?
x(
Code:
mount /dev/md0.eli
Here is what I have done :
Code:
dd if=/dev/urandom of=geli.vol bs=1M count=1024
DIGITAL-TRAITOR# mdconfig -a -t vnode -f geli.vol -u 0
DIGITAL-TRAITOR# dd if=/dev/urandom of=geli.key bs=56 count=1
1+0 records in
1+0 records out
56 bytes transferred in 0.000068 secs (824144 bytes/sec)
DIGITAL-TRAITOR# ls -l da*
-rw-r--r-- 1 root wheel 56 Oct 5 12:59 geli.key
-rw-r--r-- 1 root wheel 1073741824 Oct 5 12:57 geli.vol
DIGITAL-TRAITOR# geli init -s 4096 -e Blowfish -l 448 -K geli.key /dev/md0
Enter new passphrase:
DIGITAL-TRAITOR# geli init -s 4096 -e Blowfish -l 448 -K geli.key /dev/md0
Enter new passphrase:
Reenter new passphrase:
Metadata backup can be found in /var/backups/md0.eli and
can be restored with the following command:
# geli restore /var/backups/md0.eli /dev/md0
DIGITAL-TRAITOR#
DIGITAL-TRAITOR# pwd
/root
DIGITAL-TRAITOR# geli attach -d -k geli.key /dev/md0
Enter passphrase:
dgeli: Wrong key for md0.
DIGITAL-TRAITOR# geli attach -d -k geli.key /dev/md0
Enter passphrase:
###########################################
## Perform the below command only once after creation ##
DIGITAL-TRAITOR# newfs -U /dev/md0.eli
/dev/md0.eli: 1024.0MB (2097144 sectors) block size 16384, fragment size 4096
using 4 cylinder groups of 256.00MB, 16384 blks, 16384 inodes.
with soft updates
super-block backups (for fsck -b #) at:
160, 524448, 1048736, 1573024
###########################################
DIGITAL-TRAITOR#
DIGITAL-TRAITOR# mount /dev/md0.eli /mnt
mount: /dev/md0.eli : No such file or directory
What's wrong in the above ?
x(