[SGVLUG] FW: Missing ext2 devices
Claude Felizardo
cafelizardo at gmail.com
Fri Dec 4 21:30:02 PST 2009
Strange that it isn't creating the minor devices at boot. Is this a SATA
drive or is it PATA/IDE and you ahve some strange jumper problem? Or bad
cable? There's got to be a hint in the boot messages... Oh, I see that you
said SCSI. Terminator missing?
Can you just reboot FC8, mount the new drive and copy files using the old
system?
If you boot FC8, can you then run tune2fs or debugfs to see how things are
configured?
Actually before modifying anything, if you have the space, I'd suggest doing
dd copies to the new disk on a different partition just in case.
On Fri, Dec 4, 2009 at 8:21 PM, Matt Campbell <dvdmatt at gmail.com> wrote:
>
>
>
>
>
>
> *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/6a3054a5/attachment.html
More information about the SGVLUG
mailing list