On 2013-11-08 23:09, Lester B wrote: > I create a new btrfs filesystem and then add a new device and delete > the original device. When I run 'btrfs filesystem show', the total > device is two and there is an error that some devices are missing. See my answer below. > > I also tried to resize the filesystem but didn't work. Resizing > without device id have an error that there is no such device. When the > device id is explicitly pass, an error 'invalid argument' is > displayed. We need more info: - what is the output of "btrfs filesystem df <path>" - which is a raid level involved (RAID1/DUP/...), if any ? - which command you perform to shrink/enlarge the partition and which one to resize the filesystem (these are two separate steps) ? > > I tried to unmount and then remount and the first problem disappeared > while the second one didn't. Unfortunately "btrfs filesystem show" read the data from the disk, that time to time is outdated. > > 3.11.6-1-ARCH #1 SMP PREEMPT Fri Oct 18 23:22:36 CEST 2013 x86_64 GNU/Linux > > Btrfs v0.20-rc1-358-g194aa4a-dirty > -- > 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 > -- gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it> Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5 -- 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
