On Sun, Sep 23, 2018 at 08:20:10AM -0500, Richard Owlett wrote:

> root@debian8-6:/home/richard# # purge device
> root@debian8-6:/home/richard# dd if=/dev/zero of=/dev/sdb bs=4M

> root@debian8-6:/home/richard# # force UID/GID to 'richard', label device,
> accept standard defaults
> root@debian8-6:/home/richard# mkfs.ext4 root_owner=1000:1000 -L
> 2018Sept23tst1 /dev/sdb1
> mke2fs 1.42.12 (29-Aug-2014)
> mkfs.ext4: invalid blocks '/dev/sdb1' on device 'root_owner=1000:1000'

> root@debian8-6:/home/richard# # is all ok
> root@debian8-6:/home/richard# e2fsck -fy /dev/sdb1
> e2fsck 1.42.12 (29-Aug-2014)
> e2fsck: No such file or directory while trying to open /dev/sdb1
> Possibly non-existent device?

> root@debian8-6:/home/richard# # create partition table with Gparted
> root@debian8-6:/home/richard# mkfs.ext4 root_owner=1000:1000 -L
> 2018Sept23tst1 /dev/sdb1
> mke2fs 1.42.12 (29-Aug-2014)
> mkfs.ext4: invalid blocks '/dev/sdb1' on device 'root_owner=1000:1000'
> root@debian8-6:/home/richard# e2fsck -fy /dev/sdb1
> e2fsck 1.42.12 (29-Aug-2014)
> e2fsck: No such file or directory while trying to open /dev/sdb1
> Possibly non-existent device?

You have overwritten the whole sdb device with zeros, including the
partition table. You'll have to recreate your partitions before you can
create filesystems on them.

Cheers,
Tom

-- 
BOFH excuse #431:

Borg implants are failing

Attachment: signature.asc
Description: PGP signature

Reply via email to