Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] formatting HDD leaves 11.7 GB untouched
- Date: Mon, 2 Dec 2019 03:33:27 +0100
- From: Christian Horn <chorn@example.com>
- Subject: Re: [tlug] formatting HDD leaves 11.7 GB untouched
- References: <cab819cd-bc16-93ce-f728-0a3be1a33ed7@hb.tp1.jp>
- User-agent: Mutt/1.10.1 (2018-07-13)
Hoi Thomas, On Mon, Dec 02, 2019 at 10:48:19AM +0900, Thomas Blasejewicz wrote: > I have a 160 GB HDD that was used in an old notebook running Mint 19.2, > using only one partition. > Since I changed the HDD, I would like to use this one for external storage. > So .. I formatted the disk; the usual way; using ext4 'formatting' could mean multiple things: - overwriting all blocks - and/or just generating fresh filesystem structures > Afterwards, the properties showed: 8.1 GB used > Looking at it with "disks" I get: 160 GB -> 156 GB free; 2.3% used. Maybe you have a further partition on the disk? A filesystem takes up also some space by itself, but here where I tried to replicate your issue much less than 4GB: [root@kosmos ~]# cat /proc/partitions major minor #blocks name [..snip..] 7 0 167772160 loop0 [root@kosmos ~]# [root@kosmos ~]# df -h /mnt/tmp/ Filesystem Size Used Avail Use% Mounted on /dev/loop0 157G 61M 149G 1% /mnt/tmp [root@kosmos ~]# This is a filesystem plainly on a 160GB block device, no partitions. > That means, if I understand that correctly, the disk still holds 11.7 GB of > something that I do not need. 'cat /proc/partitions' should tell us if there is more than one partition on the disk. > How can I wipe the disk ENTIRELY clean? A 'mkfs.ext4' is just creating data structures, if you want to overwrite the disk with zeros then 'cat /dev/zero >/dev/<diskdevice>' could do that. cheers, Chris
- Follow-Ups:
- Re: [tlug] formatting HDD leaves 11.7 GB untouched
- From: Stephen Lee
- References:
- [tlug] formatting HDD leaves 11.7 GB untouched
- From: Thomas Blasejewicz
Home | Main Index | Thread Index
- Prev by Date: [tlug] formatting HDD leaves 11.7 GB untouched
- Next by Date: Re: [tlug] formatting HDD leaves 11.7 GB untouched
- Previous by thread: [tlug] formatting HDD leaves 11.7 GB untouched
- Next by thread: Re: [tlug] formatting HDD leaves 11.7 GB untouched
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links