Josef,
Well that's a neat trick, do you have a way to undo that action too?
Seems a rescan doesn't make it show back up.
hope the following helps..
-------------
# fdisk -l /dev/sdg | egrep "Disk /"
Disk /dev/sdg: 4294 MB, 4294967296 bytes
# x=`ls -l /sys/class/block/sdg | cut -d "/" -f12 | sed 's/:/ /g'`
# echo "scsi remove-single-device ${x}" > /proc/scsi/scsi
# fdisk -l /dev/sdg | egrep "Disk /"
# echo "scsi add-single-device ${x}" > /proc/scsi/scsi
# fdisk -l /dev/sdg | egrep "Disk /"
Disk /dev/sdg: 4294 MB, 4294967296 bytes
-------------
Please try the patch I just posted to the list to fix this problem. Thanks,
Facing some challenges to upgrade my machine to 3.0.0-rc6, so is
the delay.
Thanks for the patch.
Anand
Josef
--
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