Link to home
Create AccountLog in
Avatar of jjoz
jjozFlag for Australia

asked on

Error in formatting new hard drive in Ubuntu 64 bit ?

Hi All,

I'm having problem in formatting the newly added 20 GB hard drive to my Ubuntu 64 bit server, is there any explanation why I got stuck to this error ?

I've followed the instruction in this page but not successful: https://help.ubuntu.com/community/InstallingANewHardDrive
but I want to use the latest Ext 4 FS for all of my newly deployed VM
root@isuzu:~# fdisk -l

Disk /dev/sda: 21.5 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00025338

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          32      248832   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2              32        2611    20719617    5  Extended
/dev/sda5              32        2611    20719616   8e  Linux LVM

Disk /dev/sdb: 21.5 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xbc618204

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1        2610    20964793+   5  Extended

root@isuzu:~# mkfs -t ext4 /dev/sdb1
mke2fs 1.41.11 (14-Mar-2010)
mkfs.ext4: inode_size (128) * inodes_count (0) too big for a
        filesystem with 0 blocks, specify higher inode_ratio (-i)
        or lower inode count (-N).

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Onlyodin
Onlyodin

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of jjoz

ASKER

ok, I've managed to get that done, but how come it doesn't show up in the df -kh ?


root@isuzu:~# fdisk -l

Disk /dev/sda: 21.5 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00025338

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          32      248832   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2              32        2611    20719617    5  Extended
/dev/sda5              32        2611    20719616   8e  Linux LVM

Disk /dev/sdb: 21.5 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xbc618204

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1        2610    20964793+   5  Extended
/dev/sdb5               1        2610    20964762   83  Linux
root@isuzu:~# df -kh
Filesystem            Size Used Avail Use% Mounted on
/dev/mapper/SSV-root   19G   16G  2.7G  86% /
none                  4.0G  188K  4.0G   1% /dev
none                  4.0G     0  4.0G   0% /dev/shm
none                  4.0G   41M  3.9G   2% /var/run
none                  4.0G  8.0K  4.0G   1% /var/lock
none                  4.0G     0  4.0G   0% /lib/init/rw
projects:/export/itree/svn
                      984G  390G  544G  42% /home/svn
/dev/sda1             228M   36M  181M  17% /boot
root@isuzu:~#

Open in new window

SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of jjoz

ASKER

thanks man !