Operating System - HP-UX
1838469 Members
2793 Online
110126 Solutions
New Discussion

Re: samba testing methods

 
SOLVED
Go to solution
p7
Frequent Advisor

samba testing methods

hi all, happy holidays

we have a client who is in the process of migrating his novell servers to our hpux boxes. every wednesday, they need to freeze out the users for 15 minutes (without logging them out)so they can copy some data on the new servers. i created a cronjob that moves a major directory that they access to a new name, then move it back 15 minutes later.

it seemed to have done the trick until today, when one file they were trying to move said that someone was using it, so it wouldnt move, i had to kill the pid.

the question i have is:

1. obviously the best way would probably to shut samba/start again, but that would logout all the users.
2. me moving the directoy n back seems to work but one user held the process on a file regardless and i had to find it n kill the pid
3. has anyone else encountered this kind of situation or tried another way?

thx in advance, happy holidays once more


5 REPLIES 5
Pete Randall
Outstanding Contributor
Solution

Re: samba testing methods

1. Why would stopping samba log out all the users?

2. Standard unix behaviour.

3. See #1.


Pete

- and happy holidays to you, too!

Pete
p7
Frequent Advisor

Re: samba testing methods

hi

thx for the response, i was under the impression that if u stop/start samba the users will have to relogin/map again. thats not the case then?
Pete Randall
Outstanding Contributor

Re: samba testing methods

I honestly don't think that's the case. If their home directories were mounted on samba shares then I could see where there might be issues. Do you have a test server that you could experiment on?


Pete

Pete
James R. Ferguson
Acclaimed Contributor

Re: samba testing methods

Hi:

If your backups (copies) are being preformed on the HP servers AND you have *OnlineJFS*, consider creating a JFS "snapshot". This will allow you to capture a static copy all the while allowing users to continue to read and to modify the filesystem. The procedure is described in the Managing Systems and Workgroups Guide:

http://www.docs.hp.com/en/B2355-90950/B2355-90950.pdf

Regards!

...JRF...
p7
Frequent Advisor

Re: samba testing methods

thx all