Re: To loop or not to loop with btrfs

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

 



On Wed, Nov 18, 2009 at 10:31:53PM +0100, Jan Engelhardt wrote:
> This left me puzzled for a while:
> 
> 22:29 borg:/ # losetup /dev/loop1 /.B.disk
> 22:29 borg:/ # mount /dev/loop1 /B
> mount: /dev/loop1: can't read superblock
> 22:29 borg:/ # blkid /dev/loop1
> /dev/loop1: UUID="e19fe89b-cde3-4ccc-bc70-b759a57bd1c9"
> UUID_SUB="f29c6218-d040-4546-a227-4dd2d2142817" TYPE="btrfs" 
> 22:29 borg:/ # losetup -d /dev/loop1
> 22:29 borg:/ # losetup /dev/loop2 /.B.disk 
> 22:29 borg:/ # mount /dev/loop2 /B
> (success)
> 
> So the btrfs volume is tied to loop2? That certainly is not good.
> Even real disks (/dev/sd*) can move around, the more so USB flash
> gadgets and loop devices.

   This looks like it might be related to [1]? (I suspect it slipped
Chris's mind back in April, and nobody's really noticed it since).

   Hugo.

[1] http://article.gmane.org/gmane.comp.file-systems.btrfs/2817

-- 
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
    --- Most administrators wouldn't give their users the time of ---    
                      day.  That's what NTP is for.                      

Attachment: signature.asc
Description: Digital signature


[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