Sponsored Content
Operating Systems Linux Need to Mount LUKS external drive on Fedora Post 302683169 by jlouki01 on Tuesday 7th of August 2012 10:09:51 AM
Old 08-07-2012
Need to Mount LUKS external drive on Fedora

I had installed Fedora 16 a while back and chose to encrypt my home directory. I have removed the drive and installed a new drive, installed F17 and would like to attach the old drive externally and mount it to recover some of my data. I know the encryption password but I can't seem to find any solid procedures for getting it mounted.

This is the lv I would like to mount.

Code:
 --- Logical volume ---
  LV Path                /dev/vg_loukinasfedor/lv_home
  LV Name                lv_home
  VG Name                vg_loukinasfedor
  LV UUID                0PPquP-0oux-vt5Y-03Wu-nFmv-fWnz-JVglFz
  LV Write Access        read/write
  LV Creation host, time , 
  LV Status              available
  # open                 0
  LV Size                97.66 GiB
  Current LE             3125
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:9

Code:
[root@localhost vg_loukinasfedor]# vgchange -ay
  7 logical volume(s) in volume group "vg_loukinasfedor" now active
  0 logical volume(s) in volume group "vg2" now active
  3 logical volume(s) in volume group "vg" now active
[root@localhost vg_loukinasfedor]# mount /dev/vg_loukinasfedor/lv_home /tmp/mount
mount: unknown filesystem type 'crypto_LUKS'
[root@localhost vg_loukinasfedor]#

Moderator's Comments:
Mod Comment code tags please

Last edited by jim mcnamara; 08-07-2012 at 12:44 PM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how to mount a hotswap scsi drive on a solaris 2.6 netra box using the mount command?

Hi... question is this: How do I mount an LVD hotswap scsi drive in bay #2 on a netra using the mount command? volmgt doesn't seem to mount it and/or I don't know how to view the drives data if it's formatted which it may not be. This drive is not new out of the box so I'm not sure. ... (4 Replies)
Discussion started by: soulshaker
4 Replies

2. UNIX for Dummies Questions & Answers

mount external usb drive on Redhat 9

I am using Redhat 9 Linux, and am trying to get my external usb drive mounted (fat32). If I look at the KDE Control panel, it lists a usb 2.0 storage device under "USB Devices" (also in /proc/bus/usb), and under "SCSI" as scsi1. I looked at /proc/scsi/usb-storage-0, and it lists it there also. What... (6 Replies)
Discussion started by: jeremiebarber
6 Replies

3. Solaris

FAT32 usb external hard drive - how to mount??

Hello ! What is the comand to mount and usb hard disk ? I have Solaris 10 installed! 10nx! (1 Reply)
Discussion started by: daniel.balasa
1 Replies

4. UNIX for Dummies Questions & Answers

External SCSI hard drive

Someone gave me a small external SCSI hard drive for my SunOS 5.8 test system. How do I make Unix see the hard drive? (2 Replies)
Discussion started by: FredSmith
2 Replies

5. Ubuntu

External Hard drive won't mount

i have a Simple Tech hard drive that i use between two computers. it is formatted to ntfs. i have a dell desktop with Ubuntu 7.10 and Ubuntu 8.04 and Windows XP Home. and i have a laptop with Ubuntu 7.10 and Ubuntu 8.04. the laptop recognizes the hard drive on both 8.04 and 7.10 but my desktop... (9 Replies)
Discussion started by: Texasone
9 Replies

6. AIX

external DDS4 Tape Drive

Hi folks, I've got a little problem concerning my external dds4 tape drive. I've got 2 rs6000 systems, one has a external dds4 tape drive attached, I want to attach the tape drive to the other rs6000 system so that i can restore data from the 1st rs6000 on to the second. Does anybody has... (3 Replies)
Discussion started by: Erik Rooijmans
3 Replies

7. Filesystems, Disks and Memory

Partitioning External Drive

I am about to set up another triple boot drive, but this one is connected to my MacBook with a USB adapter. I want to be sure that I do not overwrite data on my laptop's internal drive. This is the command I used for the internal drive, which was found in an Ubuntu forum, but the sizes were changed... (0 Replies)
Discussion started by: MacInAction
0 Replies

8. Debian

Unable to mount external drive

Trying to mount an external 160GB Toshiba drive but.... this is my dmesg tail output: usb 2-2: new high speed USB device using ehci_hcd and address 3 usb 2-2: New USB device found, idVendor=13fd, idProduct=1618 usb 2-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0 usb 2-2:... (4 Replies)
Discussion started by: Ridson
4 Replies

9. Red Hat

Usb external drive

Hi Guys I am using RHEL5 O/S. We have mounted the usb external hard drive to the server as root. I want the user oracle to be able to write into this external hard drive. How do i do that ? Please Help!!! (1 Reply)
Discussion started by: Phuti
1 Replies

10. UNIX for Advanced & Expert Users

External hard drive

I have connected an external hard drive. I can't find it. Both ls /media, fdisk -l and ls /dev show nothing. TIA (3 Replies)
Discussion started by: Meow613
3 Replies
LVREMOVE(8)                                                   System Manager's Manual                                                  LVREMOVE(8)

NAME
lvremove - remove a logical volume SYNOPSIS
lvremove [-A|--autobackup {y|n}] [-d|--debug] [-h|--help] [-t|--test] [-v|--verbose] [--version] [-f|--force] [--noudevsync] LogicalVol- ume{Name|Path} [LogicalVolume{Name|Path}...] DESCRIPTION
lvremove removes one or more logical volumes. Confirmation will be requested before deactivating any active logical volume prior to removal. Logical volumes cannot be deactivated or removed while they are open (e.g. if they contain a mounted filesystem). Removing an origin logical volume will also remove all dependent snapshots. If the logical volume is clustered then it must be deactivated on all nodes in the cluster before it can be removed. A single lvchange com- mand issued from one node can do this. OPTIONS
See lvm(8) for common options. -f, --force Remove active logical volumes without confirmation. --noudevsync Disable udev synchronisation. The process will not wait for notification from udev. It will continue irrespective of any possible udev processing in the background. You should only use this if udev is not running or has rules that ignore the devices LVM2 cre- ates. EXAMPLES
Remove the active logical volume lvol1 in volume group vg00 without asking for confirmation: lvremove -f vg00/lvol1 Remove all logical volumes in volume group vg00: lvremove vg00 SEE ALSO
lvcreate(8), lvdisplay(8), lvchange(8), lvm(8), lvs(8), lvscan(8), vgremove(8) Sistina Software UK LVM TOOLS 2.02.95(2) (2012-03-06) LVREMOVE(8)
All times are GMT -4. The time now is 10:13 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy