Re: ERROR: error removing the device '/dev/sdXN' - Inappropriate ioctl for device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/04/15 14:32, Anand Jain wrote:
> btrfs fi show -d


That gives:

# btrfs fi show -d
warning, device 3 is missing
warning devid 3 not found already
warning, device 3 is missing
warning devid 3 not found already
Label: 'btrfs_root'  uuid: 92452e9a-2775-45c4-922c-f01b2afd51c2
        Total devices 3 FS bytes used 30.94GiB
        devid    1 size 24.00GiB used 24.00GiB path /dev/sda4
        devid    2 size 24.00GiB used 24.00GiB path /dev/sdc4
        devid    3 size 24.00GiB used 24.00GiB path /dev/sde4

Label: 'btrfs_data'  uuid: d1b96638-be89-4291-8a40-f2f2e1dc5223
        Total devices 3 FS bytes used 95.74GiB
        devid    1 size 87.24GiB used 86.48GiB path /dev/sda5
        devid    2 size 87.24GiB used 87.24GiB path /dev/sdc5
        devid    3 size 87.24GiB used 87.24GiB path /dev/sde5

Label: 'btrfs_root2'  uuid: 62603ce8-c333-4ca7-92f7-f8bdd712ab37
        Total devices 3 FS bytes used 151.60MiB
        devid    1 size 24.00GiB used 24.00GiB path /dev/sdb4
        devid    2 size 24.00GiB used 24.00GiB path /dev/sdd4
        *** Some devices missing

Label: 'btrfs_data2'  uuid: 3aaee716-b98b-4c86-ba5a-53456994f152
        Total devices 3 FS bytes used 159.34GiB
        devid    1 size 206.47GiB used 206.02GiB path /dev/sdb5
        devid    2 size 206.47GiB used 206.47GiB path /dev/sdd5
        *** Some devices missing

btrfs-progs v3.19.1


And without the "-d":

# btrfs fi show
Label: 'btrfs_root'  uuid: 92452e9a-2775-45c4-922c-f01b2afd51c2
        Total devices 3 FS bytes used 30.94GiB
        devid    1 size 24.00GiB used 24.00GiB path /dev/sda4
        devid    2 size 24.00GiB used 24.00GiB path /dev/sdc4
        devid    3 size 24.00GiB used 24.00GiB path /dev/sde4

Label: 'btrfs_data'  uuid: d1b96638-be89-4291-8a40-f2f2e1dc5223
        Total devices 3 FS bytes used 95.74GiB
        devid    1 size 87.24GiB used 86.48GiB path /dev/sda5
        devid    2 size 87.24GiB used 87.24GiB path /dev/sdc5
        devid    3 size 87.24GiB used 87.24GiB path /dev/sde5

Label: 'btrfs_root2'  uuid: 62603ce8-c333-4ca7-92f7-f8bdd712ab37
        Total devices 3 FS bytes used 151.60MiB
        devid    1 size 24.00GiB used 24.00GiB path /dev/sdb4
        devid    2 size 24.00GiB used 24.00GiB path /dev/sdd4
        devid    3 size 24.00GiB used 24.00GiB path /dev/sdf4

Label: 'btrfs_data2'  uuid: 3aaee716-b98b-4c86-ba5a-53456994f152
        Total devices 3 FS bytes used 159.34GiB
        devid    1 size 206.47GiB used 206.02GiB path /dev/sdb5
        devid    2 size 206.47GiB used 206.47GiB path /dev/sdd5
        devid    3 size 206.47GiB used 206.47GiB path /dev/sdf5

btrfs-progs v3.19.1


Interestingly, all the log messages about /dev/sdf are now no longer
being repeated.

(And nope, not had a chance to swap that disk yet!)


Hence, should I do a "btrfs device delete missing /mnt/data2"?

Cheers,
Martin



--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux