Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #232865
| From | Anssi Saari <as@sci.fi> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: How to make btrfs forget a disk? |
| Date | 2021-03-12 09:20 +0100 |
| Message-ID | <BRLbz-63i-1@gated-at.bofh.it> (permalink) |
| References | <BRFSy-2vB-5@gated-at.bofh.it> <BRGvf-33U-1@gated-at.bofh.it> <BRGYi-3eA-3@gated-at.bofh.it> <BRInn-4aN-1@gated-at.bofh.it> |
| Organization | An impatient and LOUD arachnid |
Victor Sudakov <vas@sibptus.ru> writes: > "wipefs -t btrfs -f -a /dev/nvme1n1" did the job. > > Still wondering where those labels are stored on disk in Linux. Didn't wipefs tell you? I don't have any btrfs but for me wipefs prints at which offset it found which label. Like this, for a Linux swap partition: # wipefs /dev/sdb5 DEVICE OFFSET TYPE UUID LABEL sdb5 0xff6 swap 8af9fb67-38ca-4c91-bbbd-d53c5ac1f30a And if I hexdump a bit of /dev/sdb5 I get: 000ff0 00 00 00 00 00 00 53 57 41 50 53 50 41 43 45 32 >......SWAPSPACE2< 001000 01 00 00 00 8a f9 fb 67 38 ca 4c 91 bb bd d5 3c >.....ùûg8ÊL.»½Õ<< 001010 5a c1 f3 0a 00 00 15 00 80 00 ff ff ff ff 03 00 >ZÁó.......ÿÿÿÿ..< 001020 00 00 01 00 00 00 00 00 00 00 3d b5 04 00 00 00 >..........=µ....<
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How to make btrfs forget a disk? Victor Sudakov <vas@sibptus.ru> - 2021-03-12 03:40 +0100
Re: How to make btrfs forget a disk? David <bouncingcats@gmail.com> - 2021-03-12 04:20 +0100
Re: How to make btrfs forget a disk? Victor Sudakov <vas@sibptus.ru> - 2021-03-12 04:50 +0100
Re: How to make btrfs forget a disk? Victor Sudakov <vas@sibptus.ru> - 2021-03-12 06:20 +0100
Re: How to make btrfs forget a disk? deloptes <deloptes@gmail.com> - 2021-03-12 08:00 +0100
Re: How to make btrfs forget a disk? Victor Sudakov <vas@sibptus.ru> - 2021-03-12 10:20 +0100
Re: How to make btrfs forget a disk? David <bouncingcats@gmail.com> - 2021-03-12 10:40 +0100
Re: How to make btrfs forget a disk? Victor Sudakov <vas@sibptus.ru> - 2021-03-12 11:00 +0100
Re: How to make btrfs forget a disk? deloptes <deloptes@gmail.com> - 2021-03-12 12:10 +0100
Re: How to make btrfs forget a disk? Anssi Saari <as@sci.fi> - 2021-03-12 09:20 +0100
Re: How to make btrfs forget a disk? Victor Sudakov <vas@sibptus.ru> - 2021-03-12 10:30 +0100
Re: How to make btrfs forget a disk? David <bouncingcats@gmail.com> - 2021-03-12 10:30 +0100
Re: How to make btrfs forget a disk? Victor Sudakov <vas@sibptus.ru> - 2021-03-12 11:10 +0100
Re: How to make btrfs forget a disk? Andrei POPESCU <andreimpopescu@gmail.com> - 2021-03-12 17:10 +0100
Re: How to make btrfs forget a disk? Victor Sudakov <vas@sibptus.ru> - 2021-03-14 05:00 +0100
Re: How to make btrfs forget a disk? Andrei POPESCU <andreimpopescu@gmail.com> - 2021-03-14 10:50 +0100
Re: How to make btrfs forget a disk? Victor Sudakov <vas@sibptus.ru> - 2021-03-14 11:40 +0100
Re: How to make btrfs forget a disk? Andrei POPESCU <andreimpopescu@gmail.com> - 2021-03-14 12:20 +0100
Re: How to make btrfs forget a disk? Victor Sudakov <vas@sibptus.ru> - 2021-03-15 04:50 +0100
Re: How to make btrfs forget a disk? Victor Sudakov <vas@sibptus.ru> - 2021-03-16 03:20 +0100
csiph-web