Pistolwhip
Dabbler
- Joined
- Feb 24, 2016
- Messages
- 18
Hi all,
So, I've got what would seem to be a fairly simple operation to complete on a system I inherited at a new job.
Put simply, I need to duplicate a very large (8TB) directory structure which exists under a dataset, into a new folder also under that same dataset.
A mockup looks like this:
where Array is the zfs dataset, and directoryTree is what I need to copy from Data to DataCopy.
Should be quite simple with rsync inside screen/tmux right?
However upon execution, it will run for about an hour and then silently hang up. Running with additional verbosity/breaking the operation indicates that for some reason it's going into a state of failed: Operation not permitted. (1)
I've checked all permissions, tried running as the owner user, root. Same behavior. The system as far as I know is pure vanilla FreeNAS with no modifications, and was updated to 11.1 about 2 weeks ago.
Is there a method of doing an operation like this specific to FreeNAS/ZFS that I'm not aware of that would work better?
System specs:
MB: X10SLR-F-0
CPU: E5-1650
RAM: 64GB DDR4
HBAs: all m1015
HDD: 22x 6TB ST6000VN0001 (Seagate Enterprise)
zfs:
Total utilization is at about 35%
I realize the HW needs some work. Definitely needs more RAM, and the pool layout leaves much to be desired. I'm in the process of fixing this, but didn't think it would be interfering with simple file operations. I've included it for completeness in the event this is not the case.
So, I've got what would seem to be a fairly simple operation to complete on a system I inherited at a new job.
Put simply, I need to duplicate a very large (8TB) directory structure which exists under a dataset, into a new folder also under that same dataset.
A mockup looks like this:
Code:
tank/ └──Array/ ├── Data │ └── directoryTree (copy source) └── DataCopy └── directoryTree (copy destination)
where Array is the zfs dataset, and directoryTree is what I need to copy from Data to DataCopy.
Should be quite simple with rsync inside screen/tmux right?
Code:
rsync -avhP /mnt/tank/Array/Data/directoryTree /mnt/tank/Array/DataCopy/
However upon execution, it will run for about an hour and then silently hang up. Running with additional verbosity/breaking the operation indicates that for some reason it's going into a state of failed: Operation not permitted. (1)
I've checked all permissions, tried running as the owner user, root. Same behavior. The system as far as I know is pure vanilla FreeNAS with no modifications, and was updated to 11.1 about 2 weeks ago.
Is there a method of doing an operation like this specific to FreeNAS/ZFS that I'm not aware of that would work better?
System specs:
MB: X10SLR-F-0
CPU: E5-1650
RAM: 64GB DDR4
HBAs: all m1015
HDD: 22x 6TB ST6000VN0001 (Seagate Enterprise)
zfs:
Code:
tank ├── raidz3-0 │ └── 11x HDD └──raidz3-1 └── 11x HDD
Total utilization is at about 35%
I realize the HW needs some work. Definitely needs more RAM, and the pool layout leaves much to be desired. I'm in the process of fixing this, but didn't think it would be interfering with simple file operations. I've included it for completeness in the event this is not the case.
Last edited by a moderator: