Fdisk Freeze when typing "n" option - Cent OS 6.8

General support questions
Post Reply
IMMANUVEL
Posts: 3
Joined: 2018/06/27 10:24:46

Fdisk Freeze when typing "n" option - Cent OS 6.8

Post by IMMANUVEL » 2018/06/27 11:03:51

Hello All,

Server --> Centos 6.8 (final)

Could someone help me why one of our server freeze when i use fdisk tool .

To summarize ,

We would like to increase the LVM partition from 500 GB to 550 GB , on /dev/sdb it is showing that we 550 gb . Already we have sdb1 partition with 500 gb of space .

When trying to create sdb2 partition using fdisk , it's not allowing me to do . Upon checking on google they suggested to do "mkfs.ext4 -F -b 4096 /dev/sdb" ..but it's not allowing me to do even --> /dev/sdb is apparently in use by the system; will not make a filesystem here! (i cannot unmount the /var partition)

Kindly suggest .any help would be greately appreciated .

The Error message inside the fdisk is "The device presents a logical sector size that is smaller than
the physical sector size. Aligning to a physical sector (or optimal
I/O) size boundary is recommended, or performance may be impacted."

User avatar
TrevorH
Site Admin
Posts: 33215
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Fdisk Freeze when typing "n" option - Cent OS 6.8

Post by TrevorH » 2018/06/27 11:12:05

You can't mkfs on the entire device when it's got partitions on it and those are in use. Besides, it would destroy all your existing data on the entire disk so it's lucky that it refused to do it.

Post the output from fdisk -lu /dev/sdb
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

IMMANUVEL
Posts: 3
Joined: 2018/06/27 10:24:46

Re: Fdisk Freeze when typing "n" option - Cent OS 6.8

Post by IMMANUVEL » 2018/06/27 11:32:38

Hi,

Thanks for your update.

Below the output of the command line

[root@hostname~]# fdisk -lu /dev/sdb

Disk /dev/sdb: 590.6 GB, 590558003200 bytes
255 heads, 63 sectors/track, 71797 cylinders, total 1153433600 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00069a80

Device Boot Start End Blocks Id System
/dev/sdb1 2048 1048575999 524286976 8e Linux LVM

IMMANUVEL
Posts: 3
Joined: 2018/06/27 10:24:46

Re: Fdisk Freeze when typing "n" option - Cent OS 6.8

Post by IMMANUVEL » 2018/06/29 13:49:58

Is it possible for someone to here here ?

We have Red Hat Support for many servers in our company but unfortunately this is a centos server.

Could we raise a case for Red Hat for this ? will they provide any suggestion or solution ?

Thanks in Advance for any help .

Post Reply