Announcement

Collapse
No announcement yet.

btrfs filesystem sync

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    btrfs filesystem sync

    What I need to do is

    A) delete a snapshot
    B) wait until the snapshot is deleted and the reduction in space used is reflected

    so first I do

    btrfs subvolume delete -C /somebtrfsvol/somesnap

    so then I want to

    btrfs filesystem sync ?

    If I do

    btrfs filesystem sync /somebtrfsvol

    no errors are thrown but I'm not sure it does what I want

    if I do

    btrfs filesystem sync /somebtrfsvol/somesnap

    an error is produced

    the manpage describes this feature thus

    sync <path> [subvolid...]

    but I cannot find any examples of just what is allowed for <path> and/or [subvolid...]



    #2
    man btrfs-filesystem says
    ... sync ... starts cleaning of deleted subvolumes. To wait for the subvolume deletion to
    complete use the btrfs subvolume sync command.
    (my emphasis)
    Regards, John Little

    Comment


      #3
      wow . How much time have I stared at this with my brain saying I was doing 'subvolme sync' when in fact I was doing 'filesytem sync'
      Oh well , like the man said , I'm frequently wrong thats how I occasionally get to right :}

      Comment


        #4
        Do worry ... the older you get the worse it gets.
        "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
        – John F. Kennedy, February 26, 1962.

        Comment


          #5
          Originally posted by evinrude View Post
          ... I'm frequently wrong thats how I occasionally get to right
          The human condition.

          Regards, John Little

          Comment

          Working...
          X