MKFS.EXT4

Kernels & Hardware, configuring network, installing services

MKFS.EXT4

Postby corsairetc » 2017-12-06 10:43

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.
corsairetc
 
Posts: 70
Joined: 2014-11-14 05:30

Re: MKFS.EXT4

Postby p.H » 2017-12-06 11:48

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.
p.H
 
Posts: 177
Joined: 2017-09-17 07:12


Return to System configuration

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable