Fedora Linux Support Community & Resources Center
  #1  
Old 22nd June 2011, 03:58 PM
kevincod Offline
Registered User
 
Join Date: Jun 2011
Posts: 1
linuxchrome
Partition not showing in /dev

Hi everyone,

Being unable to solve my problem I registered here hoping someone could help me.

I have the following setup:

Two 1gb drives in raid 1
/dev/md0
- /dev/sdb
- /dev/sdc

I have an crypt-luks fs raw on /dev/md0.

Unlocking it is no problem:
Quote:
cryptsetup -v luksOpen /dev/md0 backups
Enter passphrase for /dev/md0:
Key slot 0 unlocked.
Command successful.
fdisk -l /dev/mapper/backups
Quote:
Disk /dev/mapper/backups: 1000.2 GB, 1000201601024 bytes
1 heads, 1 sectors/track, 1953518752 cylinders, total 1953518752 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0008f28d

Device Boot Start End Blocks Id System
/dev/mapper/backups1 * 2048 1953517567 976757760 83 Linux
However /dev/mapper/backups1 is not showing up:

ls -lsa /dev/mapper/
Quote:
total 0
0 drwxr-xr-x 2 root root 120 Jun 22 15:10 .
0 drwxr-xr-x 21 root root 4140 Jun 22 15:10 ..
0 lrwxrwxrwx 1 root root 7 Jun 22 15:12 backups -> ../dm-2
0 crw------- 1 root root 10, 236 Jun 22 15:03 control
0 lrwxrwxrwx 1 root root 7 Jun 22 15:03 luks-7ebf056b-8bde-4580-b1e4-8c8a0b781f82 -> ../dm-0
0 lrwxrwxrwx 1 root root 7 Jun 22 15:03 vg_rzdev1-lv_root -> ../dm-1
It appears to be a link to /dev/dm-2, same issues:

fdisk -l /dev/dm-2
Quote:
Disk /dev/dm-2: 1000.2 GB, 1000201601024 bytes
1 heads, 1 sectors/track, 1953518752 cylinders, total 1953518752 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0008f28d

Device Boot Start End Blocks Id System
/dev/dm-2p1 * 2048 1953517567 976757760 83 Linux
Same issue, no /dev/dm-2p1:


ls -lsa /dev/dm*
Quote:
0 brw-rw---- 1 root disk 253, 0 Jun 22 15:03 /dev/dm-0
0 brw-rw---- 1 root disk 253, 1 Jun 22 15:03 /dev/dm-1
0 brw-rw---- 1 root disk 253, 2 Jun 22 15:12 /dev/dm-2
Testdisk shows the partition and my files:
Quote:
TestDisk 6.12, Data Recovery Utility, May 2011
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
* Linux 2048 1953517567 1953515520 [backups]
Directory /
>drwxrwxrwx 0 0 4096 21-Jun-2011 12:38 .
drwxrwxrwx 0 0 4096 21-Jun-2011 12:38 ..
drwx------ 0 0 16384 21-Jun-2011 12:36 lost+found
drwxrwxr-x 500 500 4096 21-Jun-2011 18:56 Untitled Folder
drwxrwxr-x 500 500 4096 21-Jun-2011 12:39 Backups
drwxrwxr-x 500 500 4096 21-Jun-2011 18:56 Old
So I can access my data through testdisk, but why wont the partition show up under /dev ? I can't mount it. Any Idea's?
Reply With Quote
Reply

Tags
or dev, partition, showing

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting data partition Error: Partition already mounted or busy synergy201 Using Fedora 0 27th January 2007 11:52 AM
Can't mount my with partition magic resized ext3 partition fedski Installation, Upgrades and Live Media 0 27th December 2006 08:00 AM
/dev/hdb6 "partition mounted" error in parted, but not showing in mount/proc? IBBoard Using Fedora 1 25th October 2006 08:47 AM


Current GMT-time: 19:15 (Friday, 31-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Campina - Kristianstad Photos on Instagram - Sillod Instagram Photos