![]() | ||
|
|
Snap Server / NAS / Storage Technical Goodies The Home for Snap Server Hacking, Storage and NAS info. And NAS / Snap Classifides |
![]() |
Thread Tools |
![]() |
#1 |
Cooling Neophyte
Join Date: Jan 2007
Location: Pompey, England
Posts: 24
|
![]()
I learnt this ages ago, so posting here for all to benefit.
This is 4100 running SnapOS 4.0.860 (UK) and Snap extension s2s (not the new one!). So you have two Snap servers replicating overnight. The trouble is, the file permissions do not get replicated, so the second box has no file permissions and if you need to switch to that, you are in trouble! On the main server (replicating FROM), goto Security->File/Folder Security. You will see an option to 'Save File/Folder Security'. So save it :-) Once this is complete, the server has saved several files containing the permissions structure. Map in the server TOP level share in Windows Explorer using 'root' account and password. Opening this you will see a hidden directory called 'os_private'. In this directory are the files you need - IGNORE the java and temp folders here. Copy all the *.dat and *.dat.bak files to another safe location. Disconnect the map drive and exit the server. This part is now complete. Ensure you have a nice new replica on server#2 (replicate TO server). Now map in server#2 using root account and password. Open up os_private and delete all the *.dat and *.dat.bak file there - you may need to do this several times as some are re-created on the fly. Once this is done, copy the files retrieved from server#1 os_private/ to server#2 os_private/ (overwrite as necessary). Once that is complete, in the web interface goto Security->File/Folder Security and select Restore File/Folder Security. Then you will see the date of the 'saved permission files' from server#1 in the window to use. Restore it! Once that is complete, you will now find all the files on server#2 have the same file permissions that are on server#1 One thing to note is that SHARES are local - on server#2 you will have to add permissions to the SHARES manually - but once done, you do not need revisit unless new shares are created on server#1, so you will have to recreate. The main thing here is to ensure server#2 has a latest replica of server#1 before you do this. Hope that helps somebody. Nick Last edited by Lethe; 02-21-2007 at 06:23 AM. |
![]() |
![]() |
![]() |
#2 | |
Cooling Savant
Join Date: Aug 2004
Location: UK
Posts: 909
|
![]() Quote:
Rather useful Thanks Mind if we stick it in the FAQ? (Im presuming not with how you've put it will help) ![]()
__________________
Snap Server Help Wiki - http://wiki.procooling.com/index.php/Snap_Server Snap Server 2200 v3.4.807 2x 250GB Seagate Barracuda 7200.9 w/ UNIDFC601512M Replacement Fan "Did you really think it would be that easy??" Other NAS's 1x NSLU2 w/ 512mb Corsair Flash Voyager Running Unslung 6.8b 1x NSLU2 w/ 8Gb LaCie Carte Orange Running Debian/NSLU2 Stable 4.0r0 250GB LaCie Ethernet Disk Running Windows XP Embedded |
|
![]() |
![]() |
![]() |
#3 |
Cooling Neophyte
Join Date: Jan 2007
Location: Pompey, England
Posts: 24
|
![]()
Yes, stick it in the FAQs by all means.
Nick |
![]() |
![]() |
![]() |
#4 |
Thermophile
Join Date: Jul 2005
Location: Plano, TX
Posts: 3,135
|
![]()
Sam, I will add it to the FAQ's, there it want get wiped out like all of my FAQ's did.
__________________
1 Snap 4500 - 1.0T (4 x 250gig WD2500SB RE), Raid5, 1 Snap 4500 - 1.6T (4 x 400gig Seagates), Raid5, 1 Snap 4200 - 4.0T (4 x 2gig Seagates), Raid5, Using SATA converts from Andy Link to SnapOS FAQ's http://forums.procooling.com/vbb/showthread.php?t=13820 |
![]() |
![]() |
![]() |
#5 |
Cooling Savant
Join Date: Feb 2006
Location: South Bend, IN
Posts: 385
|
![]()
Thanks for the info!
__________________
Snap Server 4100, 4x120GB Seagate Drives, RAID 5, version 3.4.803 |
![]() |
![]() |
![]() |
#6 | |
Cooling Neophyte
Join Date: Feb 2007
Location: Las Vegas
Posts: 35
|
![]() Quote:
![]() Make sure you have mirrored your file system first, preferably with S2S!!!
Note: Every so often, Assist appears to lock up after the last step. The window is solid white. At this point, I just close Assist and do it again, which works fine. I'm wondering if it has a hard time authenticating when that happens. |
|
![]() |
![]() |
![]() |
#7 |
Thermophile
Join Date: May 2006
Location: Yakima, WA
Posts: 1,282
|
![]()
Now that is the method I used...
![]() |
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|