Link to home
Start Free TrialLog in
Avatar of chalie001
chalie001

asked on

hi am having issue pushing file

hi am having issue pushing file

lxc file push ACOR_schema.dmp acor/u02/oracle/oradata
Error: Path already exists as a directory: File too large


ls
ACOR_schema.dmp  AGS1_schema.dmp  AMUI_schema.dmp  AUNT_schema.dmp  fulldbimp.dmp  sysofr.sql
docker@docker-VirtualBox:~/Documents/dump$ lxc file push AGS1_schema.dmp ags1/u01/app/oracle/product/19.0.0/dbhome_1/AGS1_schema.dmp
Error: file does not exist
docker@docker-VirtualBox:~/Documents/dump$ ls


Avatar of David Favor
David Favor
Flag of United States of America image

Use the technique I mentioned in the previously related question.

cp some-machine-level-path /var/snap/lxd/common/lxd/storage-pools/default/containers/CNAME/rootfs/root/some-file

Open in new window


Be sure to change CNAME to some container name + file names to match your actual file name.

Also, be sure to set the correct ownership on the file you copied, if you're running a normal/unprivileged container with default uid/gid range set, then...

chown 100000:100000 /var/snap/lxd/common/lxd/storage-pools/default/containers/CNAME/rootfs/root/some-file

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of noci
noci

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial