Skip to contentSkip to conversation

filesystem show still has stale filesystem

DISCUSSION Martin Steigerwald 1 participant 1 message Aug 5, 2012 Btrfs file system

lore
Share & tools
lore
#0 lore raw

Am Sonntag, 5. August 2012 schrieb Florian Lindner:

Quoted 1 line

Hello,

Hi Florian,

Quoted 11 lines

I was playing with btrfs and accidentally formatted the disk directly (/dev/sdb instead of sdb1). Since then I rewrote the GPT partition table, recreated the partition and ran btrfs device scan. Still, btrfs filesystem show prints:

root@horus /mnt # btrfs fi sh --all-devices failed to read /dev/sr0: No medium found
Label: 'test' uuid: ffab72f2-eff1-4ac8-a694-d56dd84fda24
Total devices 1 FS bytes used 28.00KB
devid 1 size 2.73TB used 2.04GB path /dev/sdb

Quoted 3 lines

Label: 'home' uuid: c465d715-098a-4d0d-bebc-6aa51f4cb349
Total devices 1 FS bytes used 28.00KB
devid 1 size 2.73TB used 2.04GB path /dev/sdb1

wipefs shows and removes filesystem signatures. No need to dd.

Ciao,

Signature · 2 lines
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7