Hello
Could you please tell me how I may move files between shares?
For example, how can I move files from :\\hda\books to :\\hda\docs
or even from:
\\hda\movies to \\hda\movies\HD
Many thanks,
Ralf
(PS. I have 3TB drives in one Greyhole storage pool, no extra copies)
How to move files amongst SHARES (Greyhole or not)
How to move files amongst SHARES (Greyhole or not)
best,
Ralf
_______________________________________
Gigabyte GA-965G-DS3 Motherboard
Intel Pentium E2180 Processor @ 2.66MHz
Corsair 2 x 2GB xms2 DDR2 RAM
4 x 2T Western Digital Green Power HDD
Ralf
_______________________________________
Gigabyte GA-965G-DS3 Motherboard
Intel Pentium E2180 Processor @ 2.66MHz
Corsair 2 x 2GB xms2 DDR2 RAM
4 x 2T Western Digital Green Power HDD
Re: How to move files amongst SHARES (Greyhole or not)
If one or both shares are part of the storage pool, you should mount both shares (locally on the HDA, or on any client computer on your network), and move the files using that.
If both are NOT part of the storage pool, you can move the files on the HDA itself, by moving the files from /var/hda/files/share1 to /var/hda/files/share2.
If both are NOT part of the storage pool, you can move the files on the HDA itself, by moving the files from /var/hda/files/share1 to /var/hda/files/share2.
- Guillaume Boudreau
Re: How to move files amongst SHARES (Greyhole or not)
To move files within the same share (Movies/* to Movies/HD/*), you just mount that share anywhere, and move the files like you'd normally do. This will be very fast (compared to moving files to a different share), since moving files within a share is just a rename, as copying from one share to another is a copy.
- Guillaume Boudreau
Re: How to move files amongst SHARES (Greyhole or not)
Many thanks Guillaume,
I followed those instructions a few days ago but it did not give me result.
Where am I mean to be seeing the mounted shares?
When I look into mnt:samba:movies for example, the location is empty.
Is this where the mounted share should be?
Many thanks for your guidance.
Ralf
I followed those instructions a few days ago but it did not give me result.
Where am I mean to be seeing the mounted shares?
When I look into mnt:samba:movies for example, the location is empty.
Is this where the mounted share should be?
Many thanks for your guidance.
Ralf
best,
Ralf
_______________________________________
Gigabyte GA-965G-DS3 Motherboard
Intel Pentium E2180 Processor @ 2.66MHz
Corsair 2 x 2GB xms2 DDR2 RAM
4 x 2T Western Digital Green Power HDD
Ralf
_______________________________________
Gigabyte GA-965G-DS3 Motherboard
Intel Pentium E2180 Processor @ 2.66MHz
Corsair 2 x 2GB xms2 DDR2 RAM
4 x 2T Western Digital Green Power HDD
Re: How to move files amongst SHARES (Greyhole or not)
The shares are NOT mounted locally by default.
You need to mount them yourself (per the wiki instructions; not that easy), or just use a Windows computer instead to move the files (much easier).
You need to mount them yourself (per the wiki instructions; not that easy), or just use a Windows computer instead to move the files (much easier).
- Guillaume Boudreau
Re: How to move files amongst SHARES (Greyhole or not)
Many thanks,
I've mounted the shares I've created yet am puzzled by the error below when testing manually as per wiki instructions:
[root@padme samba]# /bin/sed -ie 's/#smb#//g' /etc/fstab
[root@padme samba]# /bin/mount -a
mount: mount point 0 does not exist
mount: mount point 0 does not exist
[root@padme samba]# /bin/sed -ie 's@//127.0.0.1@#smb#//127.0.0.1@g' /etc/fstab
[root@padme samba]#
The other thing is I can now open the share in /mnt/samba/movies for example AND I've hooked up a USB-HDD but can not copy from the USB-HDD to the share.
The error is: The folder "abc" cannot be copied because you do not have permissions to create it in the destination.
Are you able to guide me further?
Many thanks
Ralf
I've mounted the shares I've created yet am puzzled by the error below when testing manually as per wiki instructions:
[root@padme samba]# /bin/sed -ie 's/#smb#//g' /etc/fstab
[root@padme samba]# /bin/mount -a
mount: mount point 0 does not exist
mount: mount point 0 does not exist
[root@padme samba]# /bin/sed -ie 's@//127.0.0.1@#smb#//127.0.0.1@g' /etc/fstab
[root@padme samba]#
The other thing is I can now open the share in /mnt/samba/movies for example AND I've hooked up a USB-HDD but can not copy from the USB-HDD to the share.
The error is: The folder "abc" cannot be copied because you do not have permissions to create it in the destination.
Are you able to guide me further?
Many thanks
Ralf
Last edited by ralfb on Wed Dec 15, 2010 5:11 pm, edited 1 time in total.
best,
Ralf
_______________________________________
Gigabyte GA-965G-DS3 Motherboard
Intel Pentium E2180 Processor @ 2.66MHz
Corsair 2 x 2GB xms2 DDR2 RAM
4 x 2T Western Digital Green Power HDD
Ralf
_______________________________________
Gigabyte GA-965G-DS3 Motherboard
Intel Pentium E2180 Processor @ 2.66MHz
Corsair 2 x 2GB xms2 DDR2 RAM
4 x 2T Western Digital Green Power HDD
Re: How to move files amongst SHARES (Greyhole or not)
Can you post the output of 'cat /etc/fstab'?
There must be an error with one of your mount points.
There must be an error with one of your mount points.
Re: How to move files amongst SHARES (Greyhole or not)
sure, thanks:
cat /etc/fstab
#
# /etc/fstab
# Created by anaconda on Sun Dec 12 17:52:24 2010
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/vg_padme-lv_root / ext4 defaults 1 1
UUID=cd9649e6-6d69-4624-8199-9089ac97241b /boot ext4 defaults 1 2
/dev/mapper/vg_padme-lv_swap swap swap defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
UUID=42ea0928-74e1-4c49-ada8-452d0dda3ea2 /var/hda/files/drives/drive1 ext4 defaults 1 2
UUID=30e95e65-2d7d-4101-90d1-993423380444 /var/hda/files/drives/drive2 ext4 defaults 1 2
UUID=b4bd72a2-d31d-4c10-af4c-9c927c7ca060 /var/hda/files/drives/drive3 ext4 defaults 1 2
#smb#//127.0.0.1/movies /mnt/samba/movies cifs
credentials=/home/ralf/.smb_credentials,uid=500,gid=100,file_mode=0660,dir_mode=0770,hard,_netdev 0 0
#smb#//127.0.0.1/music /mnt/samba/music cifs
credentials=/home/ralf/.smb_credentials,uid=500,gid=100,file_mode=0660,dir_mode=0770,hard,_netdev 0 0
cat /etc/fstab
#
# /etc/fstab
# Created by anaconda on Sun Dec 12 17:52:24 2010
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/vg_padme-lv_root / ext4 defaults 1 1
UUID=cd9649e6-6d69-4624-8199-9089ac97241b /boot ext4 defaults 1 2
/dev/mapper/vg_padme-lv_swap swap swap defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
UUID=42ea0928-74e1-4c49-ada8-452d0dda3ea2 /var/hda/files/drives/drive1 ext4 defaults 1 2
UUID=30e95e65-2d7d-4101-90d1-993423380444 /var/hda/files/drives/drive2 ext4 defaults 1 2
UUID=b4bd72a2-d31d-4c10-af4c-9c927c7ca060 /var/hda/files/drives/drive3 ext4 defaults 1 2
#smb#//127.0.0.1/movies /mnt/samba/movies cifs
credentials=/home/ralf/.smb_credentials,uid=500,gid=100,file_mode=0660,dir_mode=0770,hard,_netdev 0 0
#smb#//127.0.0.1/music /mnt/samba/music cifs
credentials=/home/ralf/.smb_credentials,uid=500,gid=100,file_mode=0660,dir_mode=0770,hard,_netdev 0 0
best,
Ralf
_______________________________________
Gigabyte GA-965G-DS3 Motherboard
Intel Pentium E2180 Processor @ 2.66MHz
Corsair 2 x 2GB xms2 DDR2 RAM
4 x 2T Western Digital Green Power HDD
Ralf
_______________________________________
Gigabyte GA-965G-DS3 Motherboard
Intel Pentium E2180 Processor @ 2.66MHz
Corsair 2 x 2GB xms2 DDR2 RAM
4 x 2T Western Digital Green Power HDD
Re: How to move files amongst SHARES (Greyhole or not)
Hmm, nothing obvious.
Ok, post the output of 'sudo blkid'. Maybe there is a problem with the blockids of your drives.
(I'm kind of shooting in the dark here with some basic troubleshooting tests)
Anyone else see anything wrong?
Ok, post the output of 'sudo blkid'. Maybe there is a problem with the blockids of your drives.
(I'm kind of shooting in the dark here with some basic troubleshooting tests)
Anyone else see anything wrong?
Re: How to move files amongst SHARES (Greyhole or not)
Try those, and report what they return. Run them as ralf (the user you use to mount the shares), NOT as root.
Code: Select all
ls -la /mnt/samba/movies
ls -la /var/hda/files/movies
touch /var/hda/files/movies/file1
rm /var/hda/files/movies/file1
touch /mnt/samba/movies/file2
rm /mnt/samba/movies/file2
- Guillaume Boudreau
Who is online
Users browsing this forum: No registered users and 28 guests