Forum Replies Created
-
AuthorPosts
-
January 9, 2006 at 2:28 pm in reply to: Help… Tiger Server is creating it’s own mount points #364692
kray
Participant[QUOTE BY= MacTroll] Hmmm, and to correlate to the drives:
“df”
[/QUOTE]The plot thickens… This moringing I logged into the server through portable home account via my laptop. One again all looked fine. An ‘ls -l’ on /Volumes showed:
truffula:/Volumes kwythers$ ls -l
total 8
lrwxr-xr-x 1 root admin 1 Jan 6 08:14 disk0 -> /
drwxr-xr-x 9 kwythers staff 340 Jan 3 09:30 disk1
drwxr-xr-x 17 kwythers staff 612 Jan 6 15:27 disk2Then I logged out of the account on my laptop and logged into to the server locally. An ‘ls -l’ on the local server shows:
truffula:/Volumes kwythers$ ls -l
total 8
lrwxr-xr-x 1 root admin 1 Jan 6 08:14 disk0 -> /
drwxr-xr-x 9 kwythers staff 340 Jan 3 09:30 disk1
drwxr-xr-x 17 kwythers staff 612 Jan 6 15:27 disk2
drwxr-xr-x 7 admin staff 264 Oct 13 14:59 home1
drwxr-xr-x 7 admin staff 264 Oct 13 14:59 home1-1
drwxr-xr-x 7 admin staff 264 Oct 13 14:59 home1-2
drwxr-xr-x 7 admin staff 264 Oct 13 14:59 home1-3
drwxr-xr-x 7 admin staff 264 Oct 13 14:59 home1-4
drwxr-x— + 10 admin reichlab 296 Jan 5 13:47 reich_laband a ‘df’ shows:
truffula:/Volumes kwythers$ df
Filesystem 512-blocks Used Avail Capacity Mounted on
/dev/disk1s9 490194432 22962720 466719712 5% /
devfs 219 219 0 100% /dev
fdesc 2 2 0 100% /dev
1024 1024 0 100% /.vol
automount -nsl [220] 0 0 0 100% /Network
automount -fstab [224] 0 0 0 100% /automount/Servers
automount -static [224] 0 0 0 100% /automount/static
/dev/disk0s9 490194432 154126720 336067712 31% /Volumes/disk1
/dev/disk3s6 1953415920 584552000 1368863920 30% /Volumes/disk2
afp_002Usf0Cx2Ug001Eic06SdO0-1.2c00000c 490194432 154126720 336067712 31% /Volumes/home1
afp_002Usf0Cx2Ug001Eic06SdO0-1.2c00000d 490194432 154126720 336067712 31% /Volumes/home1-1
afp_002Usf0Cx2Ug001Eic06SdO0-1.2c00000e 490194432 154126720 336067712 31% /Volumes/home1-2
afp_002Usf0Cx2Ug001Eic06SdO0-1.2c00000f 1953415920 584552000 1368863920 30% /Volumes/reich_lab
afp_002Usf0Cx2Ug001Eic06SdO0-1.2c000010 490194432 154126720 336067712 31% /Volumes/home1-3
afp_002Usf0Cx2Ug001Eic06SdO0-1.2c000011 490194432 154126720 336067712 31% /Volumes/home1-4This issue only seems to appear when I log into the sever locally as a user with a portable home directory.
January 7, 2006 at 2:29 am in reply to: Help… Tiger Server is creating it’s own mount points #364680kray
Participantbeats the heck out of me…. I just sshed into my machine and the extra disks are gone.
truffula:/Volumes kwythers$ ls -la
total 24
drwxrwxrwt 6 root admin 204 Jan 6 15:25 .
drwxrwxr-t 34 root admin 1258 Jan 6 15:25 ..
-rw-rw-rw- 1 kwythers admin 6148 Jan 3 08:44 .DS_Store
lrwxr-xr-x 1 root admin 1 Jan 6 08:14 disk0 -> /
drwxr-xr-x 9 kwythers staff 340 Jan 3 09:30 disk1
drwxr-xr-x 17 kwythers staff 612 Jan 6 15:27 disk2truffula:/Volumes kwythers$ df
Filesystem 512-blocks Used Avail Capacity Mounted on
/dev/disk1s9 490194432 22815856 466866576 5% /
devfs 219 219 0 100% /dev
fdesc 2 2 0 100% /dev
1024 1024 0 100% /.vol
automount -nsl [220] 0 0 0 100% /Network
automount -fstab [224] 0 0 0 100% /automount/Servers
automount -static [224] 0 0 0 100% /automount/static
/dev/disk0s9 490194432 154121472 336072960 31% /Volumes/disk1
/dev/disk3s6 1953415920 584552000 1368863920 30% /Volumes/disk2
truffula:/Volumes kwythers$I’ll log in locally when I can back over there and see if that makes a diifference. I am very confused…
January 6, 2006 at 9:23 pm in reply to: Help… Tiger Server is creating it’s own mount points #364674kray
Participanttruffula:~ kwythers$ ls -al /Volumes
total 24
drwxrwxrwt 11 root admin 374 Jan 6 12:37 .
drwxrwxr-t 35 root admin 1292 Jan 6 08:13 ..
-rw-rw-rw- 1 kwythers admin 6148 Jan 3 08:44 .DS_Store
lrwxr-xr-x 1 root admin 1 Jan 6 08:14 disk0 -> /
drwxr-xr-x 9 kwythers staff 340 Jan 3 09:30 disk1
drwxr-xr-x 17 kwythers staff 612 Jan 6 12:36 disk2
drwxr-xr-x 7 admin staff 264 Oct 13 14:59 home1
drwxr-xr-x 7 admin staff 264 Oct 13 14:59 home1-1
drwxr-xr-x 7 admin staff 264 Oct 13 14:59 home1-2
drwxr-xr-x 7 admin staff 264 Oct 13 14:59 home1-3
drwxr-xr-x 7 admin staff 264 Oct 13 14:59 home1-4kray
ParticipantYes.
truffula:/99/Library/Preferences root# ls
.GlobalPreferences.plistJanuary 6, 2006 at 4:13 pm in reply to: Help… Tiger Server is creating it’s own mount points #364663kray
Participant[QUOTE BY= MacTroll]Check /Volumes see if this is the case.[/QUOTE]
The only thing that should be in /Volumes is disk0 disk1 and disk2
the home1 home1-1 home1-2 and home1-3 are getting created by them selves. So there are no local folders in /Volumes with the same names as the drives (mount points?). I do have a local folder named home1, but it’s absolute path is /Volumes/disk1/home1.
I tried using rm to remove /Volumes/home1, but it started removing files in /Volumes/disk1/home1. Now I’m afraid to rm anything…
kray
Participantfinally figured out what was going on…. the problem was the .bashrc file on both machines had the DISPLAY set to 0:0.
The ‘real’ cause of the trouble was that the machine I was ssh-ing from was set up as a portable home, and the .bashrc file was getting copied to my user name on the server. Whenever I would try and run an X application from my powerbook, the application would ‘fire up’ on the server.
I commented out the DISPLAY variable on the .bashrc in my home directory on the server, and all worked as expected. I can ssh -X to the server and run X apps on my laptop. However, for a more permanent solution, I need to come up with a way to stop dot files from syncing.
So far I tried to set ~/. and ~/.* to not sync in the mobility prferences, but so far, .bashrc syncs.
kray
ParticipantHere’s what lsof gives:
truffula:~ root# lsof | grep /Volumes/disk1
coreservi 62 root 5u VREG 14,17 1024 1316618 /Volumes/disk1/Desktop DB
coreservi 62 root 7u VREG 14,17 2 1316619 /Volumes/disk1/Desktop DF
loginwind 158 admin cwd VDIR 14,17 204 1316627 /Volumes/disk1/home1/admin
Finder 314 admin 11r VDIR 14,17 102 1316638 /Volumes/disk1/home1/admin/Desktop
Finder 314 admin 15r VDIR 14,17 204 1316627 /Volumes/disk1/home1/admin
Safari 339 admin 11u VREG 14,17 295936 1336002 /Volumes/disk1/home1/admin/Library/Syndication/Database3
Workgroup 368 admin 11u VREG 14,17 86016 1393940 /Volumes/disk1/home1/admin/Library/Caches/com.apple.preferencepanes.searchindexcache
Terminal 578 admin cwd VDIR 14,17 204 1316627 /Volumes/disk1/home1/admin
login 580 root cwd VDIR 14,17 204 1316627 /Volumes/disk1/home1/admin
bash 581 admin cwd VDIR 14,17 170 1316626 /Volumes/disk1/home1kray
Participantahhh… I missunderstood your post. I got rid of disk1, rebooted and your were right, disk1 1 came back up as disk1. Now however, I find that Disk Utility can not unmount disk1.
on the command line, ‘mount’ shows:
truffula:~ admin$ mount
/dev/disk1s9 on / (local, journaled)
devfs on /dev (local)
fdesc on /dev (union)
on /.vol
automount -nsl [180] on /Network (automounted)
automount -fstab [229] on /automount/Servers (automounted)
automount -static [229] on /automount/static (automounted)
/dev/disk0s9 on /Volumes/disk1 (local)
/dev/disk2s6 on /Volumes/disk2 (local)
truffula:~ admin$Correct me if I’m wrong, but it appears that disk1 does not have it’s own mount point, even though Disk Utility shows disk1 to be mounted on /Volumes/disk1.
Any ideas what I’ve messed up now?
kray
ParticipantHere is the directory structure in /Volumes:
truffula:/Volumes admin$ ls -l
total 8
lrwxr-xr-x 1 root admin 1 Jul 25 09:27 disk0 -> /
drwx—— 3 admin admin 102 Jul 25 09:26 disk1
drwxr-xr-x 3 admin staff 136 Jul 25 09:33 disk1 1
drwxr-xr-x 16 admin staff 578 Jul 21 14:31 disk2If I try and move the directory disk1 1, I get a message that says “cannot reneme a mount point”. If I try and delete it with rm, I get a message that says “resource bussey”
If I try and use the finder to move the directory disk1\ 1, it says I don’t have sufficient previlages, even if I log in as root.
What the heck is going on here?
kray
ParticipantYou’re right it. I traced the trouble down to a portable home directory issue. Now how to fix it?
It looks like the trouble is that disk1 is mounted on /Volumes/disk1 1, instead of /Volumes/disk1 (where is should be).
I can actually cd into /Volumes/disk1 and see that all the files are there. However, opening disk1 in the finder indicates that the directory is empty. I
kray
Participant[QUOTE BY= AledDavies]
0. If its an existing user backup the home directory. If its a local account then delete it from all the machines its on. If the directory is already a network home then delete all copies of the users home directory on all the clients and slave servers it might be on EXCEPT the master. You can also delete the master as its easier and safer to start from a clean slate.
[/QUOTE]
I want to set up a portable home dir for one powerbook to sync with one server.
It is a local account on the powerbook. Do you mean delete it from there (after it has been backed up of course)?
and… nothing in the home dir on the server to start?
[QUOTE BY= AledDavies]
1. Make sure that the home directory you want to be make Mobile is defined in the Users configuration in Open Directory using a URI rather than a file system path. (afp://yourserver/Users rather than /Users) You can set up a mobile directory using /Users however it will end up synching against itself which is really confusing as you won’t be warned of this.
[/QUOTE]
Would the home then be:
Mac OS X Server/Share point URL:
afp://yoursever/path_to_where_you_want_homesPath:
usernameHome:
path_to_where_you_want_homesLastly, should the user name on the client be the same or different from the username on the server?
-
AuthorPosts
Recent Comments