Find the answer to your Linux question:
Results 1 to 2 of 2
After putting scads of data on an BTRFS, I decided to label it. I used: Code: btrfs filesystem label /dev/sdb1 music When I try to mount it, it says mount: ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2006
    Posts
    31

    Can't Mount BTRFS after using label command


    After putting scads of data on an BTRFS, I decided to label it. I used:

    Code:
    btrfs filesystem label /dev/sdb1 music
    When I try to mount it, it says

    mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
    missing codepage or helper program, or other error

    When I tried to fix it, I used
    Code:
     btrfsck --repair /dev/sdb1
    The response was
    enabling repair mode
    Checking filesystem on /dev/sdb1
    UUID: 6cb33fb7-cef5-4d19-b327-a4f5054c3145
    checking extents
    checking fs roots
    checking root refs
    found 1083621961728 bytes used err is 0
    total csum bytes: 1056584500
    total tree bytes: 1415323648
    total fs tree bytes: 210526208
    btree space waste bytes: 103008226
    file data blocks allocated: 1082206638080
    referenced 1082206638080
    Btrfs v0.20-rc1

    I still can't mount. I would like some help.

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,533
    Use the LABEL=music directive in your mount command, or /etc/fstab.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •