Home Forums OS X Server and Client Discussion Questions and Answers Help… Tiger Server is creating it’s own mount points

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #364648
    kray
    Participant

    I have a 10.4.3 Smachine set up so that there should be 3 mount points in /Volumes:

    disk0
    disk1
    disk2

    However, in terminal, I see:

    disk0@ disk2/ home1-1/ home1-3/ reich_lab-1/
    disk1/ home1/ home1-2/ reich_lab/

    The real home1 is in disk1, while the real reich_lab is in /Volumes/disk2/data2/.

    What are these -1, -2, and so on mount points that have appeared on their own? How can I safely remove them. The mount points in question are “Shared” mount points. But not all shared mount points are behaving in this manner

    Any ideas as to what is going on? And how can I prevent it?

    #364663
    kray
    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…

    #364674
    kray
    Participant

    truffula:~ 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-4

    #364680
    kray
    Participant

    beats 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 disk2

    truffula:/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…

    #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 disk2

    Then 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_lab

    and 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-4

    This issue only seems to appear when I log into the sever locally as a user with a portable home directory.

    #364696
    kray
    Participant

    I don’t quite follow…

    I do have the following Share Points specified:

    Public
    home1
    reich_lab
    home2
    leaf_train_working

    but I thing your are talking about something different. I looked in Workgroup Manager -> Preferences -> Login Items. I see that I have home1 set up there (as a login item) with the preferences checked on:

    Hide
    Mount item with user’s name and password
    Add network home share point
    User may add and remove additional items
    User may press shift to keep items from opening
    Merge with user’s items

    However, unless I missed something in the documentation (which is always possible), I think these are required for an account set up as a portable home.

    In addition I am looking at Server Admin -> Server -> AFP -> Connections, and I see myself loged in with 6 connections. Do I assume right that those represent the following volumes?

    /Volumes/disk1/home1 (the correct and acutal home1)
    /Volumes/home1
    /Volumes/home1-1
    /Volumes/home1-2
    /Volumes/home1-3
    /Volumes/home1-4

    I will try removing home1 as a log in item and see if the portable home directory thing still works…

    #364697
    kray
    Participant

    I think I’m homing in (no pun intended) on the problem. I looked in System Preferences (on both the laptop and the Server) and I see (on the laptop) 5 login items checked (one of which is afp://Servername/home1), the rest of them are not readable and system preferences is not responding. It is not hung (according to top or Activity monitor), but it is not letting me select and remove those login items.

    Is there a way to get at login items from the command line? i.e. where are they kept?

    Thanks, I think we are close…

    #364705
    kray
    Participant

    You were righ mactroll. It was login items. I ended up deleting ~/Library/Preferences/com.apple.loginwindow.plist, as soon as it was gone (and the five extra mount points that it contained references to), the odd volumes in /Volumes dissapeared and have not retured. Thanks for the assist.

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.

Comments are closed