Re: problem mounting filesystem



After using fdisk in a disk is recommended to reboot the server so
that the new settings make efect.
You should execute e2fsk -f /dev/hdd1 after the commands you did.


On 2/15/06, Bill Tangren <bjt@xxxxxxxxxxxxxxxx> wrote:
Anu Matthew wrote:
Wierd. Perhaps the labelling?

Try w/o labelling it: mkfs.ext3 -j -m 1 /dev/hdd1

also, attach o/p of:

fdisk -l

blockdev --getsize /dev/hdd

blockdev --getsize /dev/hdd1




[root@aa2 ~]# mkfs.ext3 -j -m 1 /dev/hdd1
mke2fs 1.35 (28-Feb-2004)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
3670016 inodes, 7329160 blocks
73291 blocks (1.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=8388608
224 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

Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 26 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
[root@aa2 ~]#
[root@aa2 ~]# fdisk -l

Disk /dev/hda: 13.6 GB, 13676544000 bytes
255 heads, 63 sectors/track, 1662 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 1662 13245592+ 83 Linux

Disk /dev/hdb: 40.0 GB, 40027029504 bytes
255 heads, 63 sectors/track, 4866 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 66 530113+ 82 Linux swap
/dev/hdb2 67 4866 38556000 83 Linux

Disk /dev/hdd: 30.0 GB, 30020272128 bytes
16 heads, 63 sectors/track, 58168 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

Device Boot Start End Blocks Id System
/dev/hdd1 1 58168 29316640+ 83 Linux
[root@aa2 ~]#
[root@aa2 ~]# blockdev --getsize /dev/hdd
58633344
[root@aa2 ~]# blockdev --getsize /dev/hdd1
58633281
[root@aa2 ~]#



************************************
/dev/hda1 is /boot
/dev/hda2 is /
/dev/hdb1 is swap
/dev/hdb2 is /home

It STILL won't let me mount it.

Bill

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



--
Cleber P. de Souza

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



Relevant Pages

  • Re: dual booting (installed ubuntu then windows 2003 serv)
    ... The number of cylinders for this disk is set to 14593. ... (e.g., DOS FDISK, OS/2 FDISK) ... hda2 that there's reference to /dev/hda1 in grub menu.lst, ...
    (comp.os.linux.misc)
  • Re: raid-one
    ... The potential failure mode is that you get the wrong device name for the fdisk or mke2fs steps. ... There's not much sense in trying to describe Linux device names for anything but hd? ... copy the files from the old filesystem to the new. ... Once it all works with the new disk, fdisk the old one to match if it didn't already and mdamd --add the mirror partitions. ...
    (Fedora)
  • Re: couldnt mount because of unsupported optional features (4000400)
    ... I can read the disk (both fdisk and dd are happy enough), ... The filesystem revision is apparently too high for this version of e2fsck. ... The superblock could not be read or does not describe a correct ext2 ...
    (Fedora)
  • Re: acer one
    ... wait a couple of seconds and repeat "fdisk -l" ... Disk identifier: 0x04030201 ... The number of cylinders for this disk is set to 2167. ... Command: p ...
    (Fedora)
  • Re: freespace left after partitioning
    ... > partitions. ... > Yes, I could run fdisk on the disk, and with the p command display the ... > cylinder as displayed by fdisk. ... The number of cylinders for this disk is set to 2432. ...
    (comp.os.linux.hardware)