08-07-2012
[root@localhost mapper]# cryptsetup luksOpen /dev/mapper/vg_loukinasfedor-lv_home e565dde6-e49e-4a04-a3dd-34285f5bb525
enter pass...
[root@localhost mapper]# mount /dev/mapper/vg_loukinasfedor-lv_home /tmp/mount
mount: unknown filesystem type 'crypto_LUKS'
[root@localhost mapper]#
EDIT
Looking back you had specified old home.. I used the UUID of the LUKS FS
[root@localhost mapper]# mount /dev/mapper/e565dde6-e49e-4a04-a3dd-34285f5bb525 /tmp/mount
mount: unknown filesystem type 'LVM2_member'
[root@localhost mapper]#
---------- Post updated at 01:13 PM ---------- Previous update was at 01:06 PM ----------
[root@localhost mapper]# cryptsetup luksOpen /dev/mapper/vg_loukinasfedor-lv_home oldhome
Enter passphrase for /dev/mapper/vg_loukinasfedor-lv_home:
[root@localhost mapper]# ls -ltr
total 0
crw------- 1 root root 10, 236 Aug 7 09:16 control
lrwxrwxrwx 1 root root 7 Aug 7 09:16 vg-lv_root -> ../dm-2
lrwxrwxrwx 1 root root 7 Aug 7 09:16 vg-lv_swap -> ../dm-1
lrwxrwxrwx 1 root root 7 Aug 7 09:16 luks-93b9eaa6-66ba-4bf2-b2c1-2cea81791ae4 -> ../dm-4
lrwxrwxrwx 1 root root 7 Aug 7 10:23 vg_loukinasfedor-lv_audit -> ../dm-5
lrwxrwxrwx 1 root root 7 Aug 7 10:23 vg_loukinasfedor-lv_swap -> ../dm-8
lrwxrwxrwx 1 root root 7 Aug 7 10:23 vg_loukinasfedor-lv_tmp -> ../dm-7
lrwxrwxrwx 1 root root 8 Aug 7 10:23 vg_loukinasfedor-lv_root -> ../dm-10
lrwxrwxrwx 1 root root 7 Aug 7 10:23 vg_loukinasfedor-lv_varlog -> ../dm-6
lrwxrwxrwx 1 root root 8 Aug 7 10:23 vg_loukinasfedor-lv_var -> ../dm-11
lrwxrwxrwx 1 root root 7 Aug 7 11:11 luks-79b60596-c5f2-4019-9b8b-425af2f343c5 -> ../dm-0
lrwxrwxrwx 1 root root 7 Aug 7 11:14 vg-lv_home -> ../dm-3
lrwxrwxrwx 1 root root 7 Aug 7 13:13 vg_loukinasfedor-lv_home -> ../dm-9
lrwxrwxrwx 1 root root 8 Aug 7 13:13 oldhome -> ../dm-12
[root@localhost mapper]# mount /dev/mapper/oldhome /tmp/mount
mount: unknown filesystem type 'LVM2_member'
[root@localhost mapper]#
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
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
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
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
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
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
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
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
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
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
LEARN ABOUT DEBIAN
gnome2::vfs::drive
Gnome2::VFS::Drive(3pm) User Contributed Perl Documentation Gnome2::VFS::Drive(3pm)
NAME
Gnome2::VFS::Drive - Container around Gnome2::VFS::Volume
HIERARCHY
Glib::Object
+----Gnome2::VFS::Drive
METHODS
string = $drive->get_activation_uri
integer = $a->compare ($b)
o $b (Gnome2::VFS::Drive)
string = $drive->get_device_path
devicetype = $drive->get_device_type
string = $drive->get_display_name
$drive->eject ($func, $data=undef)
o $func (scalar)
o $data (scalar)
string = $drive->get_hal_udi
Since: vfs 2.8
string = $drive->get_icon
unsigned = $drive->get_id
boolean = $drive->is_connected
boolean = $drive->is_mounted
boolean = $drive->is_user_visible
$drive->mount ($func, $data=undef)
o $func (scalar)
o $data (scalar)
list = $drive->get_mounted_volumes
Since: vfs 2.8
boolean = $drive->needs_eject
Since: vfs 2.16
$drive->unmount ($func, $data=undef)
o $func (scalar)
o $data (scalar)
SIGNALS
volume-mounted (Gnome2::VFS::Drive, Gnome2::VFS::Volume)
volume-pre-unmount (Gnome2::VFS::Drive, Gnome2::VFS::Volume)
volume-unmounted (Gnome2::VFS::Drive, Gnome2::VFS::Volume)
ENUMS AND FLAGS
enum Gnome2::VFS::DeviceType
o 'unknown' / 'GNOME_VFS_DEVICE_TYPE_UNKNOWN'
o 'audio-cd' / 'GNOME_VFS_DEVICE_TYPE_AUDIO_CD'
o 'video-dvd' / 'GNOME_VFS_DEVICE_TYPE_VIDEO_DVD'
o 'harddrive' / 'GNOME_VFS_DEVICE_TYPE_HARDDRIVE'
o 'cdrom' / 'GNOME_VFS_DEVICE_TYPE_CDROM'
o 'floppy' / 'GNOME_VFS_DEVICE_TYPE_FLOPPY'
o 'zip' / 'GNOME_VFS_DEVICE_TYPE_ZIP'
o 'jaz' / 'GNOME_VFS_DEVICE_TYPE_JAZ'
o 'nfs' / 'GNOME_VFS_DEVICE_TYPE_NFS'
o 'autofs' / 'GNOME_VFS_DEVICE_TYPE_AUTOFS'
o 'camera' / 'GNOME_VFS_DEVICE_TYPE_CAMERA'
o 'memory-stick' / 'GNOME_VFS_DEVICE_TYPE_MEMORY_STICK'
o 'smb' / 'GNOME_VFS_DEVICE_TYPE_SMB'
o 'apple' / 'GNOME_VFS_DEVICE_TYPE_APPLE'
o 'music-player' / 'GNOME_VFS_DEVICE_TYPE_MUSIC_PLAYER'
o 'windows' / 'GNOME_VFS_DEVICE_TYPE_WINDOWS'
o 'loopback' / 'GNOME_VFS_DEVICE_TYPE_LOOPBACK'
o 'network' / 'GNOME_VFS_DEVICE_TYPE_NETWORK'
SEE ALSO
Gnome2::VFS, Glib::Object
COPYRIGHT
Copyright (C) 2003-2007 by the gtk2-perl team.
This software is licensed under the LGPL. See Gnome2::VFS for a full notice.
perl v5.14.2 2011-11-15 Gnome2::VFS::Drive(3pm)