Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20610 - creating a partition while system is up (with devfs) requires a reboot to format and use.
Summary: creating a partition while system is up (with devfs) requires a reboot to for...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-07 18:55 UTC by Jeffrey Forman (RETIRED)
Modified: 2003-11-21 13:43 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeffrey Forman (RETIRED) gentoo-dev 2003-05-07 18:55:08 UTC
I've tried creating a partition on a slave drive (OS on another drive), and
mke2fs says that the device does not exist when fdisk and cfdisk clearly show it.

Reproducible: Always
Steps to Reproduce:
1. Create partition with cfdisk or fdisk
2. Try mke2fs -j <partition>

Actual Results:  
Bitches about device not existing

Expected Results:  
Should format as expected.

tribeca root # fdisk -l /dev/hdb

Disk /dev/hdb: 61.6 GB, 61684781056 bytes
255 heads, 63 sectors/track, 7499 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hdb1             1      1912  15358108+  83  Linux
/dev/hdb2          1913      1919     56227+  83  Linux

tribeca root # mke2fs -j /dev/hdb2
mke2fs 1.32 (09-Nov-2002)
Could not stat /dev/hdb2 --- No such file or directory

The device apparently does not exist; did you specify it correctly?
Comment 1 Jeffrey Forman (RETIRED) gentoo-dev 2003-05-07 18:55:57 UTC
tribeca root # ls -al /dev/hdb*
lr-xr-xr-x    1 root     root           32 May  7 16:56 /dev/hdb -> ide/host0/bus0/target1/lun0/disc
lr-xr-xr-x    1 root     root           33 May  7 16:56 /dev/hdb1 -> ide/host0/bus0/target1/lun0/part1
Comment 2 Jeffrey Forman (RETIRED) gentoo-dev 2003-05-07 18:57:47 UTC
bug is realized on a mailing list way back in 12-2001.
http://mail.gnu.org/archive/html/bug-parted/2001-12/msg00038.html
i'm not as adept at source hacking to be able to decipher what the patch is and how to apply it.
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2003-05-13 13:24:12 UTC
Did you try a different kernel yet, as that patch seems to be for parted ...
Comment 4 SpanKY gentoo-dev 2003-11-21 13:43:24 UTC
please try a newer kernel ... sometimes when you re-partition stuff you still have to reboot for the new table to take affect