TS419P II Network share not showing files after change

Windows Access Rights Management

TS419P II Network share not showing files after change

Postby alex_da_gr8est » Fri Jul 06, 2012 5:46 pm

Hi Guys, I moved my HDD to bay 3 after buying 2 HDD's for a RAID 1 array.
the 2 new HDD's were put into bay 1 and 2 and RAIDED. bay 3 HDD is by itself with all the data on it

After doing this, when I browse to my NAS and when I am in web file manager I cannot see the data from bay 3 in the default network shares ie multimedia, download, public etc.

I have gone to the properties in share folders, but it seems that i cannot change the default shares HDD's
I would like to aggregate the shares so that if I click on public via the network I can see the files from both bay1/2 mirror and bay 3 in public.
Is this even possible? Or should I be creating a new share for the bay 3?
alex_da_gr8est
Starting out
 
Posts: 10
Joined: Fri Jul 06, 2012 4:20 pm
NAS Model: TS-401T

Re: TS419P II Network share not showing files after change

Postby alex_da_gr8est » Fri Jul 06, 2012 7:46 pm

okay so after trying a few things and getting no replies Im probably going to have to SSH to the NAS and copy paste from one HDD to the network shares
Im going to need a bit of help guys, I havent had to use linux in awhile.
so to copy all of the contents from HDD 3 to HDD 1/2
I ssh and do something like an fdisk and then an rsync ?
please let me know if im on the right track. and if you could give me some examples of commands in the terminal to do this
something like ls for show files and then copy
Thanks
alex_da_gr8est
Starting out
 
Posts: 10
Joined: Fri Jul 06, 2012 4:20 pm
NAS Model: TS-401T

Re: TS419P II Network share not showing files after change

Postby schumaku » Fri Jul 06, 2012 8:30 pm

Physically, the default shares (plus some more stuff) is located on the first storage volume. Now this volume is moved ot a diffeent slot, changing the volume location.

To change the storage location from HDA_DATA (single HDD volume, 1st slot) to match the new physical storage location HDC_DATA, you can edit smb,.conf (# vi /etc/smb.conf ). this will keep these shares at the current location.

However, it's a good move to run the first storage volume in a redundant RAID (not RAID0) - becaue there are is some more stuff stoed there, ile the MyQL database (id any), or the Twonky database. If you had configured, used, and tweaked Twonky before, you can consider to move the Twonky database from HDC_DATA to MD0_DATA - first shutdown Twonky (# /etc/init.d/twonkymedia.sh stop ....resp when using the QPKG. /etc/init.d/twonkymedia6.sh stop ), then move the stuff (# mv /share/HDC_DATA/.@twonkymedia.db /share/MD0_DATA/.@twonkymedia.db ) for example.

All commands supplied as hints only - things might work, or nee some addiitonal actions.
User avatar
schumaku
Guru
 
Posts: 22587
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
NAS Model: TS-x79 Pro

Re: TS419P II Network share not showing files after change

Postby alex_da_gr8est » Fri Jul 06, 2012 8:57 pm

thankyou very much for pointing me in the right direction, I am a fair bit rusty with my linux commands, so i've done a bit of reading since my last post.
Im not running MYSQL, should i only be changing the twonkymedia database and the samba config locations, or should I be changing the torrent location as well?
alex_da_gr8est
Starting out
 
Posts: 10
Joined: Fri Jul 06, 2012 4:20 pm
NAS Model: TS-401T

Re: TS419P II Network share not showing files after change

Postby schumaku » Fri Jul 06, 2012 9:05 pm

Sure, there can be other apps data stored in hidden folers (.name) on HDC_DATA (ls -ls /share/HDC_DATA/.* ) - move over whatever is required. But ensure, the service are stopped before...
User avatar
schumaku
Guru
 
Posts: 22587
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
NAS Model: TS-x79 Pro

Re: TS419P II Network share not showing files after change

Postby alex_da_gr8est » Fri Jul 06, 2012 9:17 pm

all services are located in /etc/init.d/ correct?
alex_da_gr8est
Starting out
 
Posts: 10
Joined: Fri Jul 06, 2012 4:20 pm
NAS Model: TS-401T

Re: TS419P II Network share not showing files after change

Postby schumaku » Fri Jul 06, 2012 9:19 pm

Aehm - scripts to start and stop? At least the majority of 'em, yes.
User avatar
schumaku
Guru
 
Posts: 22587
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
NAS Model: TS-x79 Pro

Re: TS419P II Network share not showing files after change

Postby alex_da_gr8est » Sat Jul 07, 2012 2:20 pm

Sorry, scripts to start and stop, thankyou for all the help so far schumako, Im a bit more of a cisco guy, so the unix commands are a bit foreign to me, but not completely out of reach, ive dealt with them on a very basic sense. i am a true noob with unix.

So here is my samba config file below, I have taken out my RAID HDD's for the moment (when the NAS was turned off) so the only drive is in bay 3 - the one with all the data.
The Idea is to move all the files from the single drive to the raid (the files that were in the samba shares) - format the single drive and leave it there, I may make a share in the future for it. I have one more bay so I will probably raid 1 the HDD bay 3 and 4 in the future, but that's for another day.

So there are only really 3 folders that I used and have my data on them they are there now and I can use them. public, downloads and multimedia.
So to move everything across from the single HDD to the RAID 1 array should I be doing something like
mv /share/HDC_DATA /share/MD0_DATA
and will put everything into the RAID array, also will I still have to change the samba config below to eg /share/MD0_DATA/Multimedia
#idea is to have everything on HDD 1/2 (RAID 1 array)

Also is there a command that I can use to find all the scripts to stop? or am I better just to mv everything across?
from what you told me before, Im assuming i need to stop all these below before I move them
I am running twonky, samba, download station, ms networking, local master browser and web file manager


please let me know - last thing I want to do is to wipe the 3rd drive or miss something - i will format the 3rd hdd after moving.
Will this cut and paste or copy and paste with the mv command to a 2nd HDD
alex_da_gr8est
Starting out
 
Posts: 10
Joined: Fri Jul 06, 2012 4:20 pm
NAS Model: TS-401T

Re: TS419P II Network share not showing files after change

Postby alex_da_gr8est » Sat Jul 07, 2012 7:03 pm

Dont worry, I figured it all out from your past comments. Thankyou very much schumaku

kind regards,
Alex
alex_da_gr8est
Starting out
 
Posts: 10
Joined: Fri Jul 06, 2012 4:20 pm
NAS Model: TS-401T


Return to Windows

Who is online

Users browsing this forum: No registered users and 1 guest