Delete BTRFS subvolume by ID? (Arch)

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












Somehow I created 2 subvolumes with the name @boot, and I am getting some pretty strange results when I do the following commands:



$ sudo btrfs subvolume list / 
ID 257 gen 11317 top level 5 path @root
ID 258 gen 11317 top level 5 path @var
ID 259 gen 11318 top level 5 path @home
ID 260 gen 11235 top level 5 path @snapshots
ID 261 gen 384 top level 5 path @tmp
ID 262 gen 11235 top level 257 path @boot
ID 263 gen 11235 top level 5 path @boot
ID 267 gen 11235 top level 258 path @var/lib/machines


There are two subvolumes named boot, but when I do a



$ sudo btrfs subvolume list /boot 
ID 257 gen 11317 top level 5 path @root
ID 258 gen 11319 top level 5 path @var
ID 259 gen 11319 top level 5 path @home
ID 260 gen 11235 top level 5 path @snapshots
ID 261 gen 384 top level 5 path @tmp
ID 262 gen 11235 top level 257 path @root/@boot
ID 263 gen 11235 top level 5 path @boot
ID 267 gen 11235 top level 258 path @var/lib/machines


The @root/@boot is not even mounted, and I just want to delete it. But I am can't figure out how to delete it by the ID, because I obviously wouldn't want to delete both boot subvolumes.



Any tips?







share|improve this question



















  • What's the output of sudo btrfs subvolume list -a /?
    – Emmanuel Rosa
    Apr 22 at 17:45














up vote
0
down vote

favorite












Somehow I created 2 subvolumes with the name @boot, and I am getting some pretty strange results when I do the following commands:



$ sudo btrfs subvolume list / 
ID 257 gen 11317 top level 5 path @root
ID 258 gen 11317 top level 5 path @var
ID 259 gen 11318 top level 5 path @home
ID 260 gen 11235 top level 5 path @snapshots
ID 261 gen 384 top level 5 path @tmp
ID 262 gen 11235 top level 257 path @boot
ID 263 gen 11235 top level 5 path @boot
ID 267 gen 11235 top level 258 path @var/lib/machines


There are two subvolumes named boot, but when I do a



$ sudo btrfs subvolume list /boot 
ID 257 gen 11317 top level 5 path @root
ID 258 gen 11319 top level 5 path @var
ID 259 gen 11319 top level 5 path @home
ID 260 gen 11235 top level 5 path @snapshots
ID 261 gen 384 top level 5 path @tmp
ID 262 gen 11235 top level 257 path @root/@boot
ID 263 gen 11235 top level 5 path @boot
ID 267 gen 11235 top level 258 path @var/lib/machines


The @root/@boot is not even mounted, and I just want to delete it. But I am can't figure out how to delete it by the ID, because I obviously wouldn't want to delete both boot subvolumes.



Any tips?







share|improve this question



















  • What's the output of sudo btrfs subvolume list -a /?
    – Emmanuel Rosa
    Apr 22 at 17:45












up vote
0
down vote

favorite









up vote
0
down vote

favorite











Somehow I created 2 subvolumes with the name @boot, and I am getting some pretty strange results when I do the following commands:



$ sudo btrfs subvolume list / 
ID 257 gen 11317 top level 5 path @root
ID 258 gen 11317 top level 5 path @var
ID 259 gen 11318 top level 5 path @home
ID 260 gen 11235 top level 5 path @snapshots
ID 261 gen 384 top level 5 path @tmp
ID 262 gen 11235 top level 257 path @boot
ID 263 gen 11235 top level 5 path @boot
ID 267 gen 11235 top level 258 path @var/lib/machines


There are two subvolumes named boot, but when I do a



$ sudo btrfs subvolume list /boot 
ID 257 gen 11317 top level 5 path @root
ID 258 gen 11319 top level 5 path @var
ID 259 gen 11319 top level 5 path @home
ID 260 gen 11235 top level 5 path @snapshots
ID 261 gen 384 top level 5 path @tmp
ID 262 gen 11235 top level 257 path @root/@boot
ID 263 gen 11235 top level 5 path @boot
ID 267 gen 11235 top level 258 path @var/lib/machines


The @root/@boot is not even mounted, and I just want to delete it. But I am can't figure out how to delete it by the ID, because I obviously wouldn't want to delete both boot subvolumes.



Any tips?







share|improve this question











Somehow I created 2 subvolumes with the name @boot, and I am getting some pretty strange results when I do the following commands:



$ sudo btrfs subvolume list / 
ID 257 gen 11317 top level 5 path @root
ID 258 gen 11317 top level 5 path @var
ID 259 gen 11318 top level 5 path @home
ID 260 gen 11235 top level 5 path @snapshots
ID 261 gen 384 top level 5 path @tmp
ID 262 gen 11235 top level 257 path @boot
ID 263 gen 11235 top level 5 path @boot
ID 267 gen 11235 top level 258 path @var/lib/machines


There are two subvolumes named boot, but when I do a



$ sudo btrfs subvolume list /boot 
ID 257 gen 11317 top level 5 path @root
ID 258 gen 11319 top level 5 path @var
ID 259 gen 11319 top level 5 path @home
ID 260 gen 11235 top level 5 path @snapshots
ID 261 gen 384 top level 5 path @tmp
ID 262 gen 11235 top level 257 path @root/@boot
ID 263 gen 11235 top level 5 path @boot
ID 267 gen 11235 top level 258 path @var/lib/machines


The @root/@boot is not even mounted, and I just want to delete it. But I am can't figure out how to delete it by the ID, because I obviously wouldn't want to delete both boot subvolumes.



Any tips?









share|improve this question










share|improve this question




share|improve this question









asked Apr 19 at 7:00









Cayetano Gonçalves

1133




1133











  • What's the output of sudo btrfs subvolume list -a /?
    – Emmanuel Rosa
    Apr 22 at 17:45
















  • What's the output of sudo btrfs subvolume list -a /?
    – Emmanuel Rosa
    Apr 22 at 17:45















What's the output of sudo btrfs subvolume list -a /?
– Emmanuel Rosa
Apr 22 at 17:45




What's the output of sudo btrfs subvolume list -a /?
– Emmanuel Rosa
Apr 22 at 17:45















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f438659%2fdelete-btrfs-subvolume-by-id-arch%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f438659%2fdelete-btrfs-subvolume-by-id-arch%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Bahrain

Postfix configuration issue with fips on centos 7; mailgun relay