Find the answer to your Linux question:
Results 1 to 5 of 5
Hello; im having troubles making a filesystem in a partition, for third time in a row when i execute mkfs.ext3 /dev/sdb1 the proccess goes into a sleep mode and hangs ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2007
    Posts
    24

    problem with mkfs.ext3


    Hello;

    im having troubles making a filesystem in a partition, for third time in a row when i execute mkfs.ext3 /dev/sdb1 the proccess goes into a sleep mode and hangs here, even if a kill the pid the process it keep the same status.


    [root@server ~]# mkfs.ext3 /dev/sdb1
    mke2fs 1.35 (28-Feb-2004)
    Filesystem label=
    OS type: Linux
    Block size=4096 (log=2)
    Fragment size=4096 (log=2)
    12222464 inodes, 24412767 blocks
    1220638 blocks (5.00%) reserved for the super user
    First data block=0
    Maximum filesystem blocks=25165824
    746 block groups
    32768 blocks per group, 32768 fragments per group
    16384 inodes per group
    Superblock backups stored on blocks:
    32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
    4096000, 7962624, 11239424, 20480000, 23887872

    Writing inode tables: 1/746
    process state:


    [root@server1 ~]# ps axl | grep D
    F UID PID PPID PRI NI VSZ RSS WCHAN STAT TTY TIME COMMAND

    4 0 22134 21184 18 0 8340 5292 blk_co D+ pts/4 0:00 mkfs.ext3 /dev/sdb1
    Any tips or ideas , about whats going on will be very thanksfully

    Regards!

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Whats the output of fdisk -l command?
    Code:
    su -
    fdisk -l
    df -h
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    Sep 2007
    Posts
    24
    Hello devils casper; thanks for your quickly answer

    executing su - i enter in the root directory here are the rest of the outputs;


    [root@server1 ~]# df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/sda3 145G 98G 40G 71% /
    /dev/sda1 99M 18M 77M 19% /boot
    none 1014M 0 1014M 0% /dev/shm
    [root@server1 ~]# fdisk -l

    Disk /dev/sda: 160.0 GB, 160000000000 bytes
    255 heads, 63 sectors/track, 19452 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 13 104391 83 Linux
    /dev/sda2 14 267 2040255 82 Linux swap
    /dev/sda3 268 19452 154103512+ 83 Linux

    Disk /dev/sdb: 160.0 GB, 160000000000 bytes
    255 heads, 63 sectors/track, 19452 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/sdb1 1 12157 97651071 83 Linux
    /dev/sdb2 12158 19452 58597087+ 83 Linux
    Thanks a lot for your help!.

  4. #4
    Just Joined!
    Join Date
    Sep 2007
    Posts
    24
    Well, looks like solved, i rebooted the server and when it came back i started with the fdisk and gone fine.

    Sorry to post the problem before reboot but it is the last option .

    Regards!.

  5. #5
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    I was thinking about your problem only and couldn't figure out whats wrong. Thanx for posting back !
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •