Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

MKFS.EXT4

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
corsairetc
Posts: 73
Joined: 2014-11-14 05:30

MKFS.EXT4

#1 Post by corsairetc »

Hello,
I installa debian x64 on Dell R410 server. I was created two raid's in dell PERC i6. First raid is raid 1 where is installed system. Secon was raid 0.
Debian see it as harddrives

Code: Select all

root@fileserver:~# fdisk -l
Disk /dev/sda: 136,1 GiB, 146163105792 bytes, 285474816 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xaad62e6a

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sda1  *         2048 244140031 244137984 116,4G 83 Linux
/dev/sda2       244142078 285472767  41330690  19,7G  5 Extended
/dev/sda5       244142080 285472767  41330688  19,7G 82 Linux swap / Solaris


Disk /dev/sdb: 1,1 TiB, 1199101181952 bytes, 2341994496 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: E23482C1-860C-4E7C-A0B8-7C0A6585C099

Device     Start        End    Sectors  Size Type
/dev/sdb1   2048 2341994462 2341992415  1,1T Linux filesystem
I start up fdisk /dev/sdb and create new partition this works witout problems. Problems come when I want to do mkfs.ext4 /dev/sdb1 I alway get mkfs found a dos partition table continue anywhay I type yes but nozhing happende. Where could be the problem thank you for help.

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: MKFS.EXT4

#2 Post by p.H »

What do you want to achieve ?

The existing partition /dev/sdb1 completely fills the disk /dev/sdb, so I do not see how you can create new partitions in /dev/sdb.
Are you sure you did not run

Code: Select all

fdisk /dev/sdb1
by mistake instead of

Code: Select all

fdisk /dev/sdb
?

You can wipe any known metadata signature in /dev/sdb1 with

Code: Select all

wipefs -a /dev/sdb1
prior to running mkfs.

Post Reply