You are not logged in.

#1 2014-03-23 23:00:51

cfsc
Member
Registered: 2014-02-08
Posts: 1

btrfs send error - No such file or directory

Hello,

I have the following setup in my UX31A laptop.

# 
# /etc/fstab: static file system information
#
# <file system>	<dir>	<type>	<options>	<dump>	<pass>
# /dev/sda7
UUID=617b35f9-b0a9-4562-b6b6-ab4eea3eff99	/         	btrfs     	rw,noatime,compress=lzo,ssd,discard,space_cache,autodefrag,inode_cache,subvol=root	0 0

# /dev/sda7
UUID=617b35f9-b0a9-4562-b6b6-ab4eea3eff99	/home     	btrfs     	rw,noatime,compress=lzo,ssd,discard,space_cache,autodefrag,inode_cache,subvol=home	0 0

# /dev/sda5
UUID=5D37-A7ED      	/boot     	vfat      	rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro	0 2

UUID=e08eaf4d-f932-4cce-8086-8d4913e3dfab none swap defaults 0 0
btrfs filesystem show

Label: none  uuid: 617b35f9-b0a9-4562-b6b6-ab4eea3eff99
	Total devices 1 FS bytes used 19.74GiB
	devid    1 size 66.82GiB used 39.04GiB path /dev/sda7

Label: btrfs  uuid: 3b31413b-081e-458f-87c2-b16276ceea94
	Total devices 1 FS bytes used 12.42GiB
	devid    1 size 638.53GiB used 15.04GiB path /dev/sdc2

Btrfs v3.12
btrfs sub list /
ID 257 gen 20039 top level 5 path root
ID 258 gen 20039 top level 5 path home
ID 273 gen 19987 top level 5 path home/cesar/Downloads
ID 281 gen 19997 top level 5 path home/.snapshot
ID 282 gen 1391 top level 5 path home/.snapshot/back_clean_system
ID 283 gen 7169 top level 5 path home/.snapshot/back_home
ID 284 gen 7243 top level 5 path home/.snapshot/back_system_gnome
ID 310 gen 19996 top level 5 path home/.snapshot/back_system_23-03-14
ID 311 gen 19998 top level 5 path home/.snapshot/back_home_23-03-14
 btrfs sub list /run/media/cesar/btrfs/
ID 257 gen 69 top level 5 path backup
ID 258 gen 40 top level 5 path backup/back_clean_system
ID 260 gen 45 top level 5 path backup/back_home
ID 263 gen 59 top level 5 path backup/back_system_gnome

Here's the deal, when I try to send a backup from my system to the external disk with the the following command

 btrfs send -v /home/.snapshot/back_home_23-03-14/ | btrfs receive -v /run/media/cesar/btrfs/backup

this error appears even though the folder clearly exists 

At subvol /home/.snapshot/back_home_23-03-14/
ERROR: open home/.snapshot/back_home_23-03-14 failed. No such file or directory

If I boot the computer from the arch live image, I can send snapshots from one filesystem to another without a problem.

What might be my error?

Last edited by cfsc (2014-03-23 23:09:13)

Offline

#2 2014-03-23 23:05:28

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: btrfs send error - No such file or directory

When posting configs, code or command output, please use [ code ] tags https://bbs.archlinux.org/help.php#bbcode

like this

It makes the code more readable and - in case of longer listings - more convenient to scroll through.

Offline

Board footer

Powered by FluxBB