Forum
BTRFS Volumes Root and Home not created - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Configuration (/forum-17.html)
+--- Thread: BTRFS Volumes Root and Home not created (/thread-2348.html)



BTRFS Volumes Root and Home not created - raspi - 15th Jun, 2014 12:44 AM

Hi,

My raspberry configuration is booting from an external usb disk with btrfs filesystem.
When I want to upgrade packages trough xbian-config I always obtain an error on DPkg::Pre-Invoke
right when the snapshot should be taken.

The error is "The filesystem argument list is empty"

After debugging I figure out what happend: The argument of the script btrfs-auto-snapshot is empty.
That because I don't have the root volume.
Here is my findmnt -n output
Terminal
xbian@raspberrypi ~ $ findmnt -n
/ /dev/sda2 btrfs rw,noatime,thread_pool=2,compress=lzo,space_cache,autodefrag,co
├─/dev devtmpfs devtmpfs rw,relatime,size=75940k,nr_inodes=18985,mode=755
│ └─/dev/pts devpts rw,nosuid,noexec,relatime,mode=600,ptmxmode=000
├─/proc proc rw,nosuid,nodev,noexec,relatime
├─/sys sysfs rw,nosuid,nodev,noexec,relatime
│ ├─/sys/kernel/debug debugfs rw,relatime
│ └─/sys/fs/fuse/connections fusectl fusectl rw,relatime
├─/run tmpfs rw,nosuid,nodev,noexec,noatime,size=15204k
├─/boot /dev/mmcblk0p1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,
├─/media/fc254b57-8fff-4f96-9609-ea202d871acf /dev/mmcblk0p2 ext4 ro,relatime,data=ordered
├─/lib/modules /dev/sda2[/modules/@] btrfs rw,noatime,thread_pool=2,compress=lzo,space_cache,autodefrag,co
├─/media/Installation OS X 10.9 - 10.9.1 /dev/sda1 hfsplus ro,nodev,noexec,noatime,nodiratime,sync,umask=0,uid=1001,gid=10
├─/media/6a6197bd-669b-4190-bee3-b70a7a72f746 /dev/sda4 ext4 rw,nodev,noexec,noatime,nodiratime,sync,data=ordered
├─/media/MEDIA /dev/sda3 fuseblk rw,nosuid,nodev,noexec,noatime,sync,user_id=0,group_id=0,allow_
└─/xbmc-backup /dev/sda2[/data/@] btrfs rw,noatime,thread_pool=2,compress=lzo,space_cache,autodefrag,co

FYI
Terminal

xbian@raspberrypi ~ $ sudo btrfs-auto-snapshot list
data/@
data/@btrfs-auto-snap_daily-2014-06-11-1017
data/@btrfs-auto-snap_daily-2014-06-12-0944
data/@btrfs-auto-snap_daily-2014-06-13-0908
data/@btrfs-auto-snap_weekly-2014-06-04-0830
data/@btrfs-auto-snap_weekly-2014-06-11-1018
data/@last_good_known
modules/@
modules/@btrfs-auto-snap_daily-2014-06-11-1017
modules/@btrfs-auto-snap_daily-2014-06-12-0944
modules/@btrfs-auto-snap_daily-2014-06-13-0908
modules/@btrfs-auto-snap_weekly-2014-06-04-0830
modules/@btrfs-auto-snap_weekly-2014-06-11-1018
modules/@last_good_known
Could someone tell me how to create (if possible) these missing volumes, in order to make upgrade working without commenting the 06xbian-btrfs script?
Thank you


RE: BTRFS Volumes Root and Home not created - CurlyMo - 15th Jun, 2014 12:58 AM

Can you post this issue on github?


RE: BTRFS Volumes Root and Home not created - raspi - 15th Jun, 2014 07:21 AM

(15th Jun, 2014 12:58 AM)CurlyMo Wrote:  Can you post this issue on github?

Issue created here: https://github.com/xbianonpi/xbian/issues/556


RE: BTRFS Volumes Root and Home not created - raspi - 20th Jun, 2014 02:53 AM

(15th Jun, 2014 07:21 AM)raspi Wrote:  
(15th Jun, 2014 12:58 AM)CurlyMo Wrote:  Can you post this issue on github?

Issue created here: https://github.com/xbianonpi/xbian/issues/556

But none answer received.... Anyone who know how to create these missing volumes ...?


RE: BTRFS Volumes Root and Home not created - CurlyMo - 20th Jun, 2014 03:02 AM

Then we have to be patient...


RE: BTRFS Volumes Root and Home not created - raspi - 22nd Jun, 2014 11:08 AM

(20th Jun, 2014 03:02 AM)CurlyMo Wrote:  Then we have to be patient...

Ok, issue solved on github. Thanks