[SGVLUG] FW: Missing ext2 devices
Matt Campbell
dvdmatt at gmail.com
Fri Dec 4 20:21:37 PST 2009
From: Matt Campbell
Sent: Friday, December 04, 2009 8:05 PM
To: 'SGVLUG Discussion List.'
Subject: RE: Missing ext2 devices
P.S. Using /sbin/MAKEDEV made better formed devices, but with no better
results:
# /sbin/MAKEDEV -v sdc
create sdc b 8 32 root:disk 640
system_u:object_r:fixed_disk_device_t:s0
create sdc1 b 8 33 root:disk 640
system_u:object_r:fixed_disk_device_t:s0
create sdc2 b 8 34 root:disk 640
system_u:object_r:fixed_disk_device_t:s0
create sdc3 b 8 35 root:disk 640
system_u:object_r:fixed_disk_device_t:s0
create sdc4 b 8 36 root:disk 640
system_u:object_r:fixed_disk_device_t:s0
create sdc5 b 8 37 root:disk 640
system_u:object_r:fixed_disk_device_t:s0
# mount -t ext3 /dev/sdc2 sdc2
mount: /dev/sdc2 is not a valid block device
Matt
--
Matthew Campbell | Chief Technical Officer
Imagination Games
3330 Cahuenga Boulevard West, 5th Floor
Los Angeles, CA 90068
323.850.1354 x2026 (O)
818.314.9897 (M)
matt.campbell at imaginationgames.com
www.imaginationgames.com
From: Matt Campbell
Sent: Friday, December 04, 2009 7:38 PM
To: 'SGVLUG Discussion List.'
Subject: Missing ext2 devices
Good evening,
I have run into an odd problem and am hoping you can help.
- I upgraded my main server from FC8 to FC12 this evening.
- I replaced the boot HD so that I would have a snapshot backup of the old
system in case of problems.
- I installed the new OS on a fresh HD and tried to mount the old partitions
to get at the databases.
- Under F12 the old ext2 partitions don't get created in /dev.
# ls /dev/sd*
/dev/sda /dev/sda2 /dev/sda4 /dev/sdb /dev/sdb2 /dev/sdb4
/dev/sda1 /dev/sda3 /dev/sda5 /dev/sdb1 /dev/sdb3 /dev/sdc
Notice there is a /dev/sdc, but no partition device nodes. When I look the
partitions are there and appear happy (see the text at the end of this
message). I can still boot off the old HD so it is working properly.
When I just create a new device node it doesn't work properly:
# mknod /dev/sdc2 b 8 34
# mount -t ext2 /dev/sdc2 /mnt/sdc2
mount: /dev/sdc2 is not a valid block device
When I try and take a closer look at a partition I get an odd error:
# parted /dev/sdc
check 3
checking for bad blocks. 100%
check 5
Error: File system has an incompatible feature enabled. Compatible
features are
has_journal, dir_index, filetype, sparse_super and large_file. Use tune2fs
or
debugfs to remove features.
Googling this error yields a number of solutions, but they all depend on
having a device to act on.
Any ideas of how to proceed?
Matt
root at nala:5# fdisk /dev/sdc
Command (m for help): p
Disk /dev/sdc: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00070acf
Device Boot Start End Blocks Id System
/dev/sdc1 * 1 25 200781 83 Linux
/dev/sdc2 26 1937 15358140 83 Linux
/dev/sdc3 1938 2574 5116702+ 82 Linux swap / Solaris
/dev/sdc4 2575 30515 224436082+ 5 Extended
/dev/sdc5 2575 30515 224436051 83 Linux
root at nala:6# parted /dev/sdc
GNU Parted 1.9.0
Using /dev/sdc
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
Model: ATA Maxtor 6B250S0 (scsi)
Disk /dev/sdc: 251GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 32.3kB 206MB 206MB primary ext2 boot
2 206MB 15.9GB 15.7GB primary ext2
3 15.9GB 21.2GB 5240MB primary linux-swap(v1) swap
4 21.2GB 251GB 230GB extended
5 21.2GB 251GB 230GB logical ext3
--
Matthew Campbell | Chief Technical Officer
Imagination Games
3330 Cahuenga Boulevard West, 5th Floor
Los Angeles, CA 90068
323.850.1354 x2026 (O)
818.314.9897 (M)
matt.campbell at imaginationgames.com
www.imaginationgames.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.sgvlug.net/pipermail/sgvlug/attachments/20091204/3e14e71c/attachment-0001.html
More information about the SGVLUG
mailing list