Automount question
I'm a newbie to Lion Server, so this may be obvious to some, but how to I get volumes to Automount on my clients?
I have a few volumes setup as SharePoints in the Server.app, and a bring a few MacBookPro's to work each day. I'd like them to automount the network volumes once they connect to the network, but have not figured out how to do this.
Many thanks!
You're saying 'automounts' but this is usually done to support something like network home directories. What you're probably refering to is called a network mount.
You can include network mounts as part of a configuration profile that you push to devices.
However, your mileage may vary with this feature. I've found it to be buggy in Lion but I did eventually get it to work.
Similar Messages
-
Autofs / automount question
does anyone know how to set up autofs such that one can automount a filesystem over the network that is exported by another machine? i've read the arch wiki on autofs and it is either outdated or just does not really explain how to do this. -- i cannot even start the autofs daemon or run automount by hand (fails, but nothing is logged to illuminate the issue even when i try to force logging):
root % . /etc/rc.d/autofs start
:: Starting autofs daemon [FAIL]
root %
or,
/etc/autofs % automount -v ./auto.master
automount: test mount forbidden or incorrect kernel protocol version, kernel protocol version 5.00 or above required.
/etc/autofs %
technically i am not a new user but i definitely feel like one now.
i have all the necessary packages installed, as far as I can tell. i am running the HAL daemon on startup, but i don't really think that should have anything to do with this. i have written an auto.master file, privileges are all set to 0644. the directory i refer to in the file exists and is empty.
any help would be greatly appreciated...At my work we use autofs and ldap. I'm gonna try to remember how we set this up. You need to install a couple packages, autofs on the computer you want to mount to, and a nfs-server on the computer you want to mount from.
Server.
Packages :: nfs-server
Files needing editing
/etc/auto.master (user data and mount point)
/etc/exports (/path/to/shared/folder and pcs (hostnames) which are allowed to mount)
I'm not quite sure, but you probably have to add the user to /etc/passwd, /etc/shadow
Client
packages:
autofs
Files to be edited
/etc/auto.master
The auto.master files should be the same on both pcs. I don't know why you can't start autofs though. -
I new to arch and so far i like it!
I am dealing wuth hal to automount my other partitions, i when i use nautilus i have listed at list 8 partitions/devices wich HAL mount.
How can i configure this, to only mount what i want? for example i have sabayon linux installed in one partion and i don't want hal to mount this, but at the same time, i want my mp4 player or my dvd device automounted.
PD: In this case is better if i use fstab?
thanks ain advance! and thanks for this great OSTSP, I ended up trying this "outdated" tip and it worked.
http://wiki.archlinux.org/index.php/HAL
As root, create a file named 90-user-methods.fdi in /etc/hal/fdi/policy. Then paste the following in
<xml>
<deviceinfo>
<device>
<match>
<merge>true</merge>
<match>
<merge>false</merge>
<merge>true</merge>
</match>
</match>
</device>
</deviceinfo>
Then restart HAL, /etc/rc.d/hal restart.
Cheers. -
10.5.1 - Automount shared drive question
I have a mac mini with an external HDD attached (running 10.4) -- my macbook pro can find the mini without problems, along with all currently mounted drives. The only drive it CAN'T find is the external hard drive.
Is this a problem with how it is mounted? It only finds disk images and not samba mounts? Any way to make it automatically show up when I connect to my mini?Goto Sharepoints home, there is also a Sharepoints Automounter... but maybe I don't read it right yet... just finally got Internet in Leopard a few minutes ago.
As far as "bookmarks", the cool workaround in Tiger was to once mounted, drag those Globe Icons to the Dock between Applications & Trash, or if you had many, create a New Folder on the Desktop, drag all those Globe Icons there, rename then if you wish, then drag that folder to the Dock... but no idea how Lep[ard operates with that yet... far as I'm concerned, if Leopard has 300+ improvements, then it must have 500+ steps backwards! -
Hi there,
this time I want to change 100% from windows to linux and i found archlinux to be a really nice system.
I like it "the arch way"
1) I followed the beginner's wiki and choose those xf86-input-evdev 2.3.2-1 drivers.
I set the 10-keymap.fdi file
<merge key="input.xkb.layout" type="string">de</merge>
<merge key="input.xkb.variant" type="string" />nodeadkeys</merge>
</match>
</device>
</deviceinfo>
The problem is, that the layout doesn't change to 'de'
I put
setxkbmap de -variant nodeadkeys &
into my.xinitrc, but this is not a good solution, because when logging in with SLIM there is still the english layout (e.g. for passwords with an "y" i have to press "z" because y and z are swaped in de / en layout .)
So what can I do? Is my 10-keymap.fdi somehow wrong?
2)
I would like to use my windows ntfs partitions in arch, so I installed ntfs-3g. Manual mounting with "mount -t ntfs-3g /dev/sd.. /mnt/... " works, but how can I manage that arch mounts everything it finds automaticly on startup and while running (e.g adding an usb drive)?
I installed "hal" but nothing is mounted on startup (/mnt is empty?)
3)
I saw there is a "netfs" daemon in my rc.conf
I googled it and I read it is for unix network.
When I install samba later, should I remove it then? (samba can do windows and unix both right?)
4)
I use openbox (and would like to continue using it). Is it possible to make windows "snap" to the edge and take half screen like in Windows 7 ?
And are there any commands or something like that to rearrange windows on the screen, for example "show all windows side by side" or "sorted" ?
This is my rc.conf
http://pastebin.com/fvj7cBVp
>> Thank you for you help! <<
Last edited by cyberius (2010-05-30 14:53:17)1)
replace ...
hi
thanks, it worked!
2)
use udev rules or autofs.
are udev rules and autofs two different ways of automounting devices?
i'm not shure, but i think i read on beginners wiki somewhere that hal automounts my drives?
hal, udev, autofs.. i'm confused
hm i read http://wiki.archlinux.org/index.php/Udev and created those files (with content) as they are written in the wiki
/etc/udev/rules.d/11-media-by-label-auto-mount.rules
/etc/udev/rules.d/10-my-media-automount.rules
/etc/udev/rules.d/11-sd-cards-auto-mount.rules
sadly nothing happend (i didnt see any mounted partition in /media or /mnt.. after reboot)
i know that
ls /dev/sd
sda sda1 sda2 sdb sdb1
those should be my windows partitions
did i miss somethingor should i better try autofs?
Last edited by cyberius (2010-05-30 14:54:42) -
Uber-Noob Question about automounting USB hard drives
First, let me say I'm not just new to Arch, but new to Linux as well. Been playing with it off & on for years, but mostly 'off'. In the last 3 weeks I've installed 10-12 different distros between my 2 home PC's and VMware on my laptop. I've installed Arch probably 5 times now, and have got the process down pretty good. I've probably learned more about linux from installing and configuring Arch than any other distro, book, web site, etc. So now I've got it up and running again in VMware on an Ubuntu 7.10 install on my old pc. I've got gnome working, sound is fine, samba is fine, really no problems. Except mounting USB drives. I've read several posts here and the wiki, but nothing seems to be clear really.
I think it may be a problem in the VM environment, but I want to be sure. I'm planning to replace my Sidux install on my main PC with Arch later today or tomorrow. Assuming I get it installed, and get gnome installed, will the gnome volume manager work like it does in other distros? I don't mind doing the config by hand, but I do a lot with USB flash drives and USB hard drives, and it seems like it just doesn't work very well in Arch. I actually replaced my ubuntu install last week with Arch, but got tired of trying to access my music on my USB drive, never could get it to mount. So I just re-installed Ubuntu (shame on me, I know).
So any help in getting some understanding in what needs to be done would be greatly appreciated. (forgot to mention, I did follow the wiki steps for autofs, as well as the usb drive wiki stuff).
Thanks.it's all working fine now, the problem was in the VM. I installed Arch on my main PC, and except for being an idiot, all went well. My USB drives automount in gnome, as does my CD. Haven't tried the ipods yet, but I'm sure there won't be a problem. Key for me: add my user to the storage group and reboot (logging off would of done the trick too I'm guessing). Had the same problem with setting up X, needed to reboot and all was well. Great distro, a helluva lot of fun to install and configure, and I've only done so little:)
-
/automount/Library Question
This just dawned on me. I've been having trouble browsing my smb network since making the upgrade to Tiger. I just noticed that when browsing the network there is an alias that points to "/automount/Library" but it was broken because the original object was missing. Low and behold, I checked and there is no file or folder at this location.
Can someone please tell me if this is a file or folder and also tell me what belongs within it so I can try to rebuild it manually?
Thanks.This just dawned on me. I've been having trouble
browsing my smb network since making the upgrade to
Tiger.
That's because tiger has apparently broken SMB in certain configurations. There are a lot of discussions about how/what is broken in SMB with tiger on the boards, here.
I just noticed that when browsing the network
there is an alias that points to "/automount/Library"
but it was broken because the original object was
missing. Low and behold, I checked and there is no
file or folder at this location.
Can someone please tell me if this is a file or
folder and also tell me what belongs within it so I
can try to rebuild it manually?
It is fine the way it is - it is there for Library items shared over the network - there aren't any on your network, so the alias goes nowhere.
Again, if you search the forums there are quite a few posts that will give you more specific info about this alias. -
Quick Question about automounts
If I don't import auto maps into the directory server, then can I assume that if /etc/nsswitch.conf is set correctly that automounts will be handled by files?
If nsswitch.conf reads:
automount: files ldap
Automount will be handled on the server that you login to...right?
Thanks in advance, I am still learning!!The heat and whine issues are likely normal (or at least within spec), but the screen anomaly certainly isn't. If you return the machine to Apple (and you purchased a standard, non-CTO configuration) you will be subject to the restocking fee (CTO machines cannot be returned, so far as I know).
Your best bet is to call Apple and send the machine in for repair; if they determine there is a problem they will send you a box to ship the machine to them in, fix it, and send it back to you without charge. 1-800-APL-CARE.
Good luck. -
Creation of undesired Automount of Shares in 10.9
I'm experiencing one problem that is made worse by another problem. This appears to be a new bug under 10.9 and while I will report it to Apple I'm trying to work around it for now but my inability to find where Apple stores the automount info now in 10.9 is making it impossible. Here is what is happening under 10.9:
If a network sharepoint is mounted on a 10.9 client and the server which is hosting that sharepoint restarts or otherwise goes offline for a short period the client machine will apparently create an automount entry for that sharepoint if you do not choose the "Disconnect" option when the OS informs you the server is gone. By doing this when the server comes back up it will be mounted automatically. This actually is a very nice feature, however when it runs into this other bug:
HOW TO Mount a Network Share using the Automount as non-root
it becomes a nightmare. Briefly this bug is that anything mounted via autofs mounts as ROOT (and not as the logged in user, which is what occurs when you use command-K Connect to Server), therefore even though it is mounted the user cannot access it at all. If you look at the /Volumes folder you can see the share is there but there is no disclosure triangle (meaning you can't see the contents) and clicking on it only confirms that by giving you the "you don't have permission" message.
The real problem now comes in when you restart. When you restart the client the machine mounts that share prior to the Finder loading.... and even if you have an actual alias to the share as well in startup items, it simply points to that already mounted root-owned share you have no access to, so you get an open window that is empty. Also any reference to that sharepoint in the dock is empty. You can then do Connect to Server and manually mount it again, and it does give you access, but it mounts as SHAREPOINT-1, so the reference in the dock still does not work thus removing any utility by having a reference to it in the Dock. So there is no way to have these shares that the OS helpfully tried to make automount actually mount automatically at login or restart! Oh the irony. The only work around is to just not do that and to manually unmount them from /Volumes and then to remount them using command-K (aliases only seem to point to SHAREPOINT not SHAREPOINT-1).
So my question at this point is this: Where the heck is Apple storing these autofs entries telling it to mount these shares automatically. I've seen references online to /etc/autofs but I don't have that file in my /etc folder and although I do have auto_home, auto_master, autofs.conf none of those contain anything with any sort of reference to the shares in question I'm having a problem with. I'm thinking if I can just find the correct file I can simply remove those references (or delete the file if it is a cache) to restore normal behavior of not automounting.
Or Apple could fix the bug that mounts these things as ROOT instead of as the logged in user. But it seems it has been around for at least 3 years so I'm not gonna hold my breath.
As an addendum, this occurs whether or not the server that got disconnected is OS X Server. I have an OS X Server 10.8 and a regular 10.9 both sharing up folders and this occurred on a client for both. It is strictly a client side issue.Problem resolved, turned out to be an application, Synk Pro, that was mounting these servers as root so it could do its syncing if they ever became unmounted.
-
hi can any1 pls ans these questions
22. Which two statements about the functionality of the syslogd daemon are true? (Choose two)
A. Error messages can only be logged locally in a system log.
B. The kernel, daemons, and syslogd each write directly to a system log.
C. Syslogd can write messages to the console as well as to a system log.
D. The logger command communicates with syslogd which then logs the message
according to its configuration file.
given ans b,c
my Answer: C,D pls confirm
q 23 after modifying the profile file on jumpstart server what is the quickest way to check the behaviour of the modified profile file?
a. run the check script
b.run the pfinstall command
c.run add_install_client commnd
d. run modify_install_server commnd
answer given option b
my ans a pls confirm as i dont know what pfinstall means
q 32 which files do RBAC uses ?
a./etc/user_attr
b. /etc/exec_attr
c./etc/prof_attr
d./etc/security/user_attr
e./etc/security/exec_attr
f./etc/security/prof_attr
given ans is option a,e,f
and b,e,f
which is correct
q 55 what is the max number of DNS servers that can b specified on clients configuration file?
a.2
b.3
c.4
d.5
given ans b-3
how is this i havent read this in the material sa299
q 66
u have two 50mb ufs filesysytems one located on a single disk other on RAID 1 mirror . both are full . RAID uses round robin read policy , statistically
waht is true about RAID 1 mirror when reading data?
a.mirror is faster
b.mirror is slower
c.round robin read policy is not allowed
d.mirror and single disk exhibit the same performance
answer is a
my answer is b but mayb i m wrong pls help
q 67
u are using nis+ u want a solution with equivalent scalibility that will support a more hetrogenous environment what action provides the solution
a.use nis
b.use nfs
c.use dns
d.use ldap
answer given d-ldap
how is this ?
q71. Which two must you complete when configuring an NIS slave server? (Choose two)
A. You execute the domainname command to set the local NIS domain.
B. You edit the /etc/inet/hosts file to include the NIS master server and NIS slave
servers.
C. You edit the slave server copies of the /etc/ethers file to identify MAC addresses of the
NIS clients.
D. You execute the ypbind command on the slave server to pull the NIS maps from the master
server to the slave server.
Answer: A, C is given
my answer a.,b pls confirm
90. You believe that you have a correctly configured boot server on the local network for the
JumpStart client you are currently attempting to install. Jumpstart configuration is based on
files only and does not use a naming service at any stage.
Upon running the command:
boot net � install
The client repeatedly displays the message:
Timeout waiting for ARP/RARP packet
What are two possible causes for this? (Choose two)
A. The in.rarpd daemon is not running on the boot server.
B. The sysidcfg file for the client is missing an ether entry.
C. The client does not exist in the rules.ok file on the boot server.
D. The /etc/ethers file on the boot server does not have an entry for the client.
E. The /etc/bootparams file on the boot server has duplicate entries for the client.
answer given is a,e
my answer is a,d
102. You work as a network administrator for Certkiller .com. Given the line from the name service
configuration file:
hosts: nis [UNAVAIL=return] files
Which two statements correctly describe the behavior of the name server switch? Choose two
A. If NIS doe NOT find the appropriate entry in the ethers map , the attempt to locate would be abandonded without looking at the local files.
B. If NIS does NOT respond , the attempt to locate would be abandonded without looking at the local files
C. If NIS were does NOT find the entry in the approprite entry int he ethers map , the attempt to locate the host's address would be continued within
the local file (/etc/inet/hosts).
D. If NIS server does NOT respond , the search for the ethers entrywould be continued by searching for it in the local file (/etc/inet/hosts).
Answer: a.b is the given answer
my answer is b,c
similar question
156. You work as a network administrator for Certkiller .com. Given the line from the name service
configuration file:
hosts: nis [NOTFOUND=return] files
Which two statements correctly describe the behavior of the name server switch? Choose two
A. If NIS were unavailable, the attempt to locate a host's IP address would be abandonded.
B. If NIS were available but a host IP address was not in the NIS map, the attempt to locate the
host's address would be abandoned.
C. If NIS were unavailable, the attempt to locate the host's address would be continued within
the local file (/etc/inet/hosts).
D. If NIS were available but a host IP address was not in the NIS tables, the attempt to locate the
host's address would be continued by searching for it in the local file (/etc/inet/hosts).
Answer: a,b
my answer b,c
110. Which two are functions of an NFS client? (Choose two)
A. Runs the nfsd daemon.
B. Makes resources available over the network.
C. Mounts remote resources across the network.
D. Is configured using the /etc/dfs/dfstab file.
E. Mounts a remote resource and uses it as through it were local.
Answer given a,e
my answer c,e
114. You work as a network administrator for Certkiller .com. You have a system used for
application development. The process app-rev23 owner by user epiphylla terminates
abnormally.
Which two effects can the root user configure? (Choose two)
A. The process app-rev23 produces no core file at all.
B. The process app-rev23 produces a core file without the string "core" appearing
anywhere within the file name.
C. The process app-rev23 produces a global core file readable by any user in a global
/var/corefiles directory.
D. The process app-rev23 produces a total of three core files, one in the current directory of
the process, one in epihylla's home directory, and one in a global /var/corefiles
directory.
Answer GIVEN : B, C
my answer i dont know but i read this ans as B,D in this forum how is it
q117 one benifit of of adjusting the automount behavior thru the use of the automount command ?
a.it allows the server to manage the client automountd daemon
b.it allows close sync between server and client
c.it is possible for the automountd daemon to stop without affecting client automounting
d.it is NOT always neccesary to stop and restart the daemon after changes to the AUTOFS map
given ans b
my answer confused over c and d both seem right
155. Your boss at Certkiller .com is curios about Sun Solaris 9. Which two software configurations
clusters, selected during the installation procedure for the Solaris 9 Operating Environment,
contain all the files in /usr/lib/netsvc/yp needed to allow a host to function as an NIS server?
Select two
A. Core Solaris Software Group
B. Entire Solaris Software Group
C. End User Solaris Software Group
D. Developer Solaris Software Group
E. Entire Solaris Software Group Plus OEM
Answer: B, C
my answer is B,E got it in this forum seems right but donno pls confirm
q 158 what name can b given to the direct automount map
a.can be called anything
b.can only be called auto.direct
c.can only be called auto_direct
d.can only be called auto_master
e.can only be called anything as long as it is preceded by auto_.
answer given a
pls explain
171. your boss at certkiller.com is curios about sun solaris9 .which three naming services that can
be used to provide identification services to jumpstart clients?
A. NIS
B. AFS
C. DNS
D. NIS+
E. WINS
F. LDAP
Answer: A, B,C is the given ans
A,D,F is the answer given in this forum
i know NIS,NIS+ for sure but why not DNS it can also be used so i am confused
q175
what information is passed by TFTP as part of the client boot sequence during jumpstart?
a.client host name
b.client (/) root file system
c.client network boot image
d.jumpstart config files
given ans c
pls confirm
q 189
which 3 processs & daemons are executed by the /usr/lib/netsvc/yp/ypstart script on the NIS master
a.ypcat
b.ypbind
c.ypinit
d.ypserv
e.ypxfrd
f.yprefont
given ans a,d,e
my ans b,d,e
191. When you build NIS maps using the make command without any arguments, which three steps
are necessary? (Choose three)
A. You edit the source files with the necessary modifications.
B. You execute a ypbind on the NIS master to bind it to itself.
C. You change directory to the directory containing the Makefile.
D. You edit the Makefile to point to the correct source file directory.
E. You copy the source files into the directory where the Makefile is located.
given answer A,B,C
Answer: A, C, D given in the forum
sorry if there are any typing errrors i couldnt cut and paste from the pdf can any1 tell how to do it
but pls give ur answers i need them have exam next week
thankuhi can any1 pls ans these questions
22. Which two statements about the functionality of the syslogd daemon are true? (Choose two)
A. Error messages can only be logged locally in a system log.
B. The kernel, daemons, and syslogd each write directly to a system log.
C. Syslogd can write messages to the console as well as to a system log.
D. The logger command communicates with syslogd which then logs the message
according to its configuration file.
given ans b,c
my Answer: C,D pls confirm
q 23 after modifying the profile file on jumpstart server what is the quickest way to check the behaviour of the modified profile file?
a. run the check script
b.run the pfinstall command
c.run add_install_client commnd
d. run modify_install_server commnd
answer given option b
my ans a pls confirm as i dont know what pfinstall means
q 32 which files do RBAC uses ?
a./etc/user_attr
b. /etc/exec_attr
c./etc/prof_attr
d./etc/security/user_attr
e./etc/security/exec_attr
f./etc/security/prof_attr
given ans is option a,e,f
and b,e,f
which is correct
q 55 what is the max number of DNS servers that can b specified on clients configuration file?
a.2
b.3
c.4
d.5
given ans b-3
how is this i havent read this in the material sa299
q 66
u have two 50mb ufs filesysytems one located on a single disk other on RAID 1 mirror . both are full . RAID uses round robin read policy , statistically
waht is true about RAID 1 mirror when reading data?
a.mirror is faster
b.mirror is slower
c.round robin read policy is not allowed
d.mirror and single disk exhibit the same performance
answer is a
my answer is b but mayb i m wrong pls help
q 67
u are using nis+ u want a solution with equivalent scalibility that will support a more hetrogenous environment what action provides the solution
a.use nis
b.use nfs
c.use dns
d.use ldap
answer given d-ldap
how is this ?
q71. Which two must you complete when configuring an NIS slave server? (Choose two)
A. You execute the domainname command to set the local NIS domain.
B. You edit the /etc/inet/hosts file to include the NIS master server and NIS slave
servers.
C. You edit the slave server copies of the /etc/ethers file to identify MAC addresses of the
NIS clients.
D. You execute the ypbind command on the slave server to pull the NIS maps from the master
server to the slave server.
Answer: A, C is given
my answer a.,b pls confirm
90. You believe that you have a correctly configured boot server on the local network for the
JumpStart client you are currently attempting to install. Jumpstart configuration is based on
files only and does not use a naming service at any stage.
Upon running the command:
boot net � install
The client repeatedly displays the message:
Timeout waiting for ARP/RARP packet
What are two possible causes for this? (Choose two)
A. The in.rarpd daemon is not running on the boot server.
B. The sysidcfg file for the client is missing an ether entry.
C. The client does not exist in the rules.ok file on the boot server.
D. The /etc/ethers file on the boot server does not have an entry for the client.
E. The /etc/bootparams file on the boot server has duplicate entries for the client.
answer given is a,e
my answer is a,d
102. You work as a network administrator for Certkiller .com. Given the line from the name service
configuration file:
hosts: nis [UNAVAIL=return] files
Which two statements correctly describe the behavior of the name server switch? Choose two
A. If NIS doe NOT find the appropriate entry in the ethers map , the attempt to locate would be abandonded without looking at the local files.
B. If NIS does NOT respond , the attempt to locate would be abandonded without looking at the local files
C. If NIS were does NOT find the entry in the approprite entry int he ethers map , the attempt to locate the host's address would be continued within
the local file (/etc/inet/hosts).
D. If NIS server does NOT respond , the search for the ethers entrywould be continued by searching for it in the local file (/etc/inet/hosts).
Answer: a.b is the given answer
my answer is b,c
similar question
156. You work as a network administrator for Certkiller .com. Given the line from the name service
configuration file:
hosts: nis [NOTFOUND=return] files
Which two statements correctly describe the behavior of the name server switch? Choose two
A. If NIS were unavailable, the attempt to locate a host's IP address would be abandonded.
B. If NIS were available but a host IP address was not in the NIS map, the attempt to locate the
host's address would be abandoned.
C. If NIS were unavailable, the attempt to locate the host's address would be continued within
the local file (/etc/inet/hosts).
D. If NIS were available but a host IP address was not in the NIS tables, the attempt to locate the
host's address would be continued by searching for it in the local file (/etc/inet/hosts).
Answer: a,b
my answer b,c
110. Which two are functions of an NFS client? (Choose two)
A. Runs the nfsd daemon.
B. Makes resources available over the network.
C. Mounts remote resources across the network.
D. Is configured using the /etc/dfs/dfstab file.
E. Mounts a remote resource and uses it as through it were local.
Answer given a,e
my answer c,e
114. You work as a network administrator for Certkiller .com. You have a system used for
application development. The process app-rev23 owner by user epiphylla terminates
abnormally.
Which two effects can the root user configure? (Choose two)
A. The process app-rev23 produces no core file at all.
B. The process app-rev23 produces a core file without the string "core" appearing
anywhere within the file name.
C. The process app-rev23 produces a global core file readable by any user in a global
/var/corefiles directory.
D. The process app-rev23 produces a total of three core files, one in the current directory of
the process, one in epihylla's home directory, and one in a global /var/corefiles
directory.
Answer GIVEN : B, C
my answer i dont know but i read this ans as B,D in this forum how is it
q117 one benifit of of adjusting the automount behavior thru the use of the automount command ?
a.it allows the server to manage the client automountd daemon
b.it allows close sync between server and client
c.it is possible for the automountd daemon to stop without affecting client automounting
d.it is NOT always neccesary to stop and restart the daemon after changes to the AUTOFS map
given ans b
my answer confused over c and d both seem right
155. Your boss at Certkiller .com is curios about Sun Solaris 9. Which two software configurations
clusters, selected during the installation procedure for the Solaris 9 Operating Environment,
contain all the files in /usr/lib/netsvc/yp needed to allow a host to function as an NIS server?
Select two
A. Core Solaris Software Group
B. Entire Solaris Software Group
C. End User Solaris Software Group
D. Developer Solaris Software Group
E. Entire Solaris Software Group Plus OEM
Answer: B, C
my answer is B,E got it in this forum seems right but donno pls confirm
q 158 what name can b given to the direct automount map
a.can be called anything
b.can only be called auto.direct
c.can only be called auto_direct
d.can only be called auto_master
e.can only be called anything as long as it is preceded by auto_.
answer given a
pls explain
171. your boss at certkiller.com is curios about sun solaris9 .which three naming services that can
be used to provide identification services to jumpstart clients?
A. NIS
B. AFS
C. DNS
D. NIS+
E. WINS
F. LDAP
Answer: A, B,C is the given ans
A,D,F is the answer given in this forum
i know NIS,NIS+ for sure but why not DNS it can also be used so i am confused
q175
what information is passed by TFTP as part of the client boot sequence during jumpstart?
a.client host name
b.client (/) root file system
c.client network boot image
d.jumpstart config files
given ans c
pls confirm
q 189
which 3 processs & daemons are executed by the /usr/lib/netsvc/yp/ypstart script on the NIS master
a.ypcat
b.ypbind
c.ypinit
d.ypserv
e.ypxfrd
f.yprefont
given ans a,d,e
my ans b,d,e
191. When you build NIS maps using the make command without any arguments, which three steps
are necessary? (Choose three)
A. You edit the source files with the necessary modifications.
B. You execute a ypbind on the NIS master to bind it to itself.
C. You change directory to the directory containing the Makefile.
D. You edit the Makefile to point to the correct source file directory.
E. You copy the source files into the directory where the Makefile is located.
given answer A,B,C
Answer: A, C, D given in the forum
sorry if there are any typing errrors i couldnt cut and paste from the pdf can any1 tell how to do it
but pls give ur answers i need them have exam next week
thanku -
How to control DE USB disk Automounts.
Hi,
Can someone please guide me as to how to 'control' Automounts by DE when we plug USB disk drives.
I have KDE4 on my Arch system. When I connect a pen drive/USB HDD which is formatted as vfat/NTFS, the system(or KDE) 'Automounts' it in /media and I have read/write access to it. But if I use the same drive and format it as ext4, it wont be mounted as read/write for normal users but only for root.
Now pen drives and USB HDD's are removable storage drives and hence are volatile and could not have a fixed mount point, so it cannot be mounted by putting an entry in fstab or could they?. And I need my USB HDD frequently, and manually mounting it through CLI everytime and working on it as root is a bad idea i guess.
I am posting this because m confused as to how to control this Automount feature-What is the backend to it? Because I've read that HAL no longer takes care of it and that HAL will be deprecated soon, instead UDEV takes care of it. If that is the case then should I be concerned about polkit? Because that is what's the output provided by Dolphin(freedesktop.org policy prevented blah blah).
Another thing is if HAL is still in use and Automounts my devices then is it independent or polkit is a part of it. Then, is using hal-easy an option or replacement to standard HAL. ??!!??
I tried HAL archwiki and used the code to give a user permission to give rw access to automounted ext filesystems, but then nothing is mounted, it sings the same old freedesktop.org prevented bla blah song. And I think this is a question for all linuxes using Gnome and KDE in general.
Any help is appreciated.If by 'ability to mount as user' you mean to mount it manually but read/write access to normal users then yes. But primarily I need automounting as user, also be able to give access to other users for read/write et filesystem automounts.
Last edited by kapz (2009-11-17 01:12:56) -
DNS and Static IP Address Question on Solaris v10 X86
I�ve recently installed Solaris v10 X86 and have two questions. The system is a Dell E521 with 4GB RAM and 1GB SysKonnect NIC, and internet is provided via a cable modem, that�s plugged into a Netgear router, and the Solaris 10 box is plugged into the Netgear router via a CAT5 ethernet cable.
1. I can connect to my router login page using the following URL:
http://192.168.1.1/start.htm and I can also connect to various web pages such as yahoo, if I first "ping yahoo.com" (on another machine that�s internet enabled) and then plug the web site�s ip address into the Solaris/Mozilla browser. So it appears that I haven�t been successful at pointing the Solaris x86 at a DNS server to resolve the DNS name.
2. I've purchased a commercially available software package and it requires a static ip address for this Solaris x86 server. If the ip address changes, it�ll stop working by design and require that I reacquire the license file. When connecting through this Netgear router, how do I lock this Solaris v10 x86 server into a specific ip address? (the ip address floats presently when cycling my PC�s on/off) presently, and assume the Solaris box will too, usually through an ip range of 192.168.1.<1 through 5>
# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
skge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 192.168.1.3 netmask ffffff00 broadcast 192.168.1.255
ether 0:0:5a:9b:1f:10
# netstat -rn
Routing Table: IPv4
Destination Gateway Flags Ref Use Interface
192.168.1.0 192.168.1.3 U 1 1 skge0
224.0.0.0 127.0.0.1 U 1 0 lo0
default 192.168.1.1 UG 1 0
127.0.0.1 127.0.0.1 UH 8 163 lo0
Some of the present Netgear router settings:
Internet IP Address
Get Dynamically From ISP (yes)
Use Static IP Address (no)
IP Address 75.185. CROSSED-OUT3
IP Subnet Mask 255.255.248.0
Gateway IP Address 75.185.CROSSED-OUT4
Domain Name Server (DNS) Address
Get Automatically From ISP (yes)
Use These DNS Servers (blank)
Primary DNS ... (blank)
Secondary DNS ... (blank)
Netgear Router Status Page:
Account Name WGT624v3
Hardware Version V3H1
Firmware Version V2.0.16_1.0.1NA
Internet Port
MAC Address 00:40:ca:a8:CROSSED-OUT2
IP Address 75.185.CROSSED-OUT3
DHCP DHCPClient
IP Subnet Mask 255.255.248.0
Domain Name Server 65.24.7.3
65.24.7.6
LAN Port
MAC Address 00:18:4D:85:CROSSED-OUT1
IP Address 192.168.1.1
DHCP ON
IP Subnet Mask 255.255.255.0
Excerpt from doing a prtconf -D command:
pci10de,26f, instance #0 (driver name: pci_pci)
pci1028,8010, instance #0 (driver name: hci1394)
pci1148,5021, instance #0 (driver name: skge)
pci1028,1ed
pci1022,1100
The NIC is a SysKonnect 9821 1GB Ethernet card. The drivers in Solaris 10 were apparently very old and didn't install drivers or configure/plumb when I installed Solaris 10, so I downloaded the
latest drivers (hard to find!), followed the instructions and got the NIC drivers installed and then plumbed.
My router's ip address appears to be 192.168.1.1 and in one of the articles I've read, there is a recommendation to create a file (touch) within /etc named defaultrouter and enter the router's ip address. I did this, and the file now contains:
192.168.1.1
I also read where another file called resolv.conf needed to be pointed to a DNS server, which in this case, according to my Netgear router, and according to ipconfig/all on another WinBox on the same network, also shows the same 192.168.1.1 address for the DNS, so I created that file too (wasn't there) and it contains:
nameserver 192.168.1.1
There is a host name file called hostname.skge0 and it contains one line:
INTHOST
There is a hosts file, and it contains:
127.0.0.1 localhost loghost homex86
192.168.1.3 INTHOST
There is a netmasks file, and other than the commented out lines, it appears to contain one relevant line:
192.168.1.0 255.255.255.0
There is a nsswitch.conf file and other than the commented out lines, it contains:
passwd: files
group: files
hosts: files
ipnodes: files
networks: files
protocols: files
rpc: files
ethers: files
netmasks: files
bootparams: files
publickey: files
netgroup: files
automount: files
aliases: files
services: files
printers: user files
auth_attr: files
prof_attr: files
project: files
tnrhtp: files
tnrhdb: files
There is an nsswitch.dns file:
passwd: files
group: files
ipnodes: files dns
networks: files
protocols: files
rpc: files
ethers: files
netmasks: files
bootparams: files
publickey: files
netgroup: files
automount: files
aliases: files
services: files
printers: user files
auth_attr: files
prof_attr: files
project: files
tnrhtp: files
tnrhdb: files
Finally, I've also seen some advice using the folling command (and I tried it):
"route add default 192.168.1.1" as an alternative method of setting up route table
The only other command I've tried is:
"ifconfig skge0 192.168.1.1 netmask 255.255.255.0 up" but I suspect that was redundant as the plumb command I used to get the NIC functioning earlier probably already provided what was needed.
Finally, on this small network, I ran an ipconfig/all on a Windows based PC, to see what network settings were reported through the wireless connection, and this is an excerpt of that information:
C:\Documents and Settings\mark_burke>ipconfig/all
Windows IP Configuration
Ethernet adapter Local Area Connection:
Media State . . . . . . . . . . . : Media disconnected
Description . . . . . . . . . . . : Broadcom NetXtreme 57xx Gigabit Controller
Physical Address. . . . . . . . . : (withheld)
Ethernet adapter {xxxxxxxx}:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Nortel IPSECSHM Adapter - Packet Scheduler Min
iport
Physical Address. . . . . . . . . : (withheld)
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 0.0.0.0
Subnet Mask . . . . . . . . . . . : 0.0.0.0
Default Gateway . . . . . . . . . :
Ethernet adapter Wireless Network Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Dell Wireless 1370 WLAN Mini-PCI Card
Physical Address. . . . . . . . . : (withheld)
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.1.2
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DNS Servers . . . . . . . . . . . : 192.168.1.1I�ve recently installed Solaris v10 X86 and have two
questions. The system is a Dell E521 with 4GB RAM
and 1GB SysKonnect NIC, and internet is provided via
a cable modem, that�s plugged into a Netgear router,
and the Solaris 10 box is plugged into the Netgear
router via a CAT5 ethernet cable.
1. I can connect to my router login page using the
following URL:
http://192.168.1.1/start.htm and I can also connect
to various web pages such as yahoo, if I first "ping
yahoo.com" (on another machine that�s internet
enabled) and then plug the web site�s ip address into
the Solaris/Mozilla browser. So it appears that I
haven�t been successful at pointing the Solaris x86
at a DNS server to resolve the DNS name.You can either copy nsswitch.dns to nsswitch.conf, or you can modify nsswitch.conf so that 'dns' is used for hostname lookups.
2. I've purchased a commercially available software
package and it requires a static ip address for this
Solaris x86 server. If the ip address changes, it�ll
stop working by design and require that I reacquire
the license file. When connecting through this
Netgear router, how do I lock this Solaris v10 x86
server into a specific ip address? (the ip address
floats presently when cycling my PC�s on/off)
presently, and assume the Solaris box will too,
usually through an ip range of 192.168.1.<1 through
5>One method is setting the router so that the server's MAC address is tied to a specific IP.
Otherwise you can edit /etc/hostname.<interface> and place a static address there, forgoing DHCP services from the router. You may want the address to appear outside the router's DHCP range.
Darren -
Solaris 10 automount against OpenLDAP server
Hi ya'll,
Another Solaris question that I'm searching around about...
I'm using Solaris's native LDAP client on Soalris 10 6/06. My LDAP server is an OpenLDAP server under Fedora Core 5. The Solaris client can talk to the server fine, everything is cool except for the fact that automounting isn't working. I'm guessing it's a schema issue but I'm not sure where to go... I'll post a few examples of my config and maybe someone can see something wrong:
From /etc/nsswitch.conf:
automount: files ldap
/etc/auto_master:
/projects auto.projects
/home auto.home
/- auto.direct -rw,hard,intr
from nis.schema file on OpenLDAP server:
attributetype ( 1.3.6.1.1.1.1.26 NAME 'nisMapName'
SUP name )
attributetype ( 1.3.6.1.1.1.1.27 NAME 'NisMapEntry'
EQUALITY caseExactIA5Match
SUBSTR caseExactIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{1024} SINGLE-VALUE )
objectclass ( 1.3.6.1.1.1.2.9 NAME 'nisMap' SUP top STRUCTURAL
DESC 'A generic abstraction of a NIS map'
MUST nisMapName
MAY description )
objectclass ( 1.3.6.1.1.1.2.10 NAME 'nisObject' SUP top STRUCTURAL
DESC 'An entry in a NIS map'
MUST ( cn $ NisMapEntry $ nisMapName )
MAY description )
On the LDAP server the automounts are listed as "nisMapName=auto.home" etc.
I read somewhere that in the nis.schema file, all references to "nisMapEntry" need to be changed to all lowercase, ie "nismapentry", but I tried that and restarted the LDAP server, restarted autofs on the client, still nothing. Does anyone know what schema changes need to be made? Or maybe changes that need to be made to something else that I'm not aware of? Or do I need to make any other schema changes to my Solaris 10 native LDAP client as well?
This is a clip from the OpenLDAP log on the OpenLDAP server. It seems like the automount information request is getting through, but maybe the data it returns to Solaris is in an unrecognizable format or something?
do_search
ber_scanf fmt (miiiib) ber:
dnPrettyNormal: <nisMapName=auto.projects,dc=soe,dc=ucsc,dc=edu><<< dnPrettyNormal: <nisMapName=auto.projects,dc=soe,dc=ucsc,dc=edu>, <nisMapName=auto.projects,dc=soe,dc=ucsc,dc=edu>ber_scanf fmt ({mm) ber:
ber_scanf fmt ({mm}) ber:
ber_scanf fmt ({M}}) ber:
==> limits_get: conn=35 op=0 dn="[anonymous]"
=> bdb_search
bdb_dn2entry("nisMapName=auto.projects,dc=soe,dc=ucsc,dc=edu")
search_candidates: base="nisMapName=auto.projects,dc=soe,dc=ucsc,dc=edu" (0x0000070d) scope=1
=> bdb_equality_candidates (objectClass)
=> key_read
<= bdb_index_read: failed (-30989)
<= bdb_equality_candidates: id=0, first=0, last=0
=> bdb_dn2idl("nisMapName=auto.projects,dc=soe,dc=ucsc,dc=edu")
<= bdb_dn2idl: id=111 first=1806 last=1916
=> bdb_equality_candidates (objectClass)
=> key_read
<= bdb_index_read: failed (-30989)
<= bdb_equality_candidates: id=0, first=0, last=0
bdb_search_candidates: id=0 first=1806 last=0
bdb_search: no candidates
send_ldap_result: conn=35 op=0 p=3
send_ldap_response: msgid=1 tag=101 err=0
ber_flush: 14 bytes to sd 18
daemon: activity on 1 descriptor
daemon: activity on: 18r
daemon: read active on 18
connection_get(18): got connid=35
connection_read(18): checking for input on id=35
ber_get_next
ber_get_next: tag 0x30 len 5 contents:
ber_get_next
ber_get_next on fd 18 failed errno=0 (Success)
connection_read(18): input error=-2 id=35, closing.
connection_closing: readying conn=35 sd=18 for close
connection_close: deferring conn=35 sd=18
daemon: select: listen=7 active_threads=0 tvp=NULL
daemon: select: listen=8 active_threads=0 tvp=NULL
daemon: select: listen=9 active_threads=0 tvp=NULL
daemon: select: listen=10 active_threads=0 tvp=NULL
daemon: activity on 1 descriptor
daemon: activity on:
daemon: select: listen=7 active_threads=0 tvp=NULL
daemon: select: listen=8 active_threads=0 tvp=NULL
daemon: select: listen=9 active_threads=0 tvp=NULL
daemon: select: listen=10 active_threads=0 tvp=NULL
do_unbind
Linux clients work out of the box without any config changes (but then again these linux clients come stock with an openldap client so I'm not surprised they would communicate with one of their own kind).
Thanks in advance for any insight!!!
ciao, erichHi Gary,
i've got the automounter working with OpenLDAP, but not the SSD
here are my results:
$ ldaplist auto_master
dn: cn=/home,ou=NFSMounts,dc=m-x
dn: cn=/data,ou=NFSMounts,dc=m-x
$ ldaplist auto_home
dn: automountMapName=auto_home,uid=bill,ou=People,dc=m-x
$ ldaplist auto_data
dn: automountMapName=auto_data,uid=bill,ou=People,dc=m-x
$ ls -l /home
total 2
dr-xr-xr-x 1 root root 1 Nov 16 11:13 billdata
dr-xr-xr-x 1 root root 1 Nov 16 11:13 billhome
$ ls -l /data
total 2
dr-xr-xr-x 1 root root 1 Nov 16 11:13 billdata
dr-xr-xr-x 1 root root 1 Nov 16 11:13 billhome
and here are my configs:
/var/ldap/ldap_client_file:
NS_LDAP_FILE_VERSION= 2.0
NS_LDAP_SERVERS= xxx
NS_LDAP_SEARCH_BASEDN= dc=m-x
NS_LDAP_AUTH= simple
NS_LDAP_SEARCH_SCOPE= sub
NS_LDAP_CACHETTL= 3600
NS_LDAP_CREDENTIAL_LEVEL= proxy
NS_LDAP_SERVICE_SEARCH_DESC= passwd:ou=People,dc=m-x
NS_LDAP_SERVICE_SEARCH_DESC= group:ou=Group,dc=m-x
NS_LDAP_SERVICE_SEARCH_DESC= auto_master:ou=NFSMounts,dc=m-x
NS_LDAP_SERVICE_SEARCH_DESC= auto_data:ou=People,dc=m-x?sub?nisMapName=auto_data
NS_LDAP_SERVICE_SEARCH_DESC= auto_home:ou=People,dc=m-x?sub?nisMapName=auto_home
NS_LDAP_ATTRIBUTEMAP= automount:automountKey=cn
NS_LDAP_ATTRIBUTEMAP= automount:automountInformation=nisMapEntry
NS_LDAP_ATTRIBUTEMAP= automount:automountMapName=nisMapName
NS_LDAP_ATTRIBUTEMAP= passwd:gecos=cn
NS_LDAP_OBJECTCLASSMAP= automount:automount=nisObject
NS_LDAP_OBJECTCLASSMAP= automount:automountMap=nisMap
ldif entries:
dn: nisMapName=auto_home,uid=bill,ou=People,dc=m-x
objectClass: top
objectClass: nisObject
nisMapEntry: host1:/export/home/bill
nisMapName: auto_home
cn: billhome
dn: nisMapName=auto_data,uid=bill,ou=People,dc=m-x
objectClass: top
objectClass: nisObject
cn: billdata
nisMapEntry: host1:/export/data/bill
nisMapName: auto_data
snooping the network, i see that the calls from ldaplist include the nisMapName=auto_* filter, while the calls made by the automounter don't
is there a way to get the automounter to respect the SSD?
thank you,
Billy -
Solaris 10 and NFS/Automount into Solaris 8 Env.
Hello fellow Administrators,
I have recently upgraded my own station to Solaris 10 6/06 update 2 in a Solaris 8 NIS/Automount environment. How ever, i have noticed that my station from time to time 'frezzez' and becomes unresponding. It's as if the system hangs due to some sort of conversation/hand shake with my NIS Server. I have several automounts in my vfstab to my local NIS server.
Question, has anyone else had similair problems/experiances ?
Grateful to any answer that can solve this mystery of mine.
Regards,
PierreHi Robert,
Seems to be working better now and i tried on a user as well and there are no complains yet. In the end i applied the latest Sun Cluster for Sol 10 (not many where applied to the 6/06 update 2) and your small 'hack'.
Thank's a bunch!
Pierre -
What's the best way to automount DVD and networksharing?
Hey Guys.
Just a Question - to hear if its possible to make it work ?
I have through time build a little MythTV setup on ArchLinux.
And - damn I'm happy with it.
The only remaining problem I've got now - is how to share the DVD on the network. Since I'm using powersaving frontends, I have no DVD for playing DVD's. And since I got kids and A LOT cartoons, I would be glad to make this works perfectly.
I've tried to make it work using NFS - I've discovered some lacking in the picture and sound when playing DVD's.
I've tried with samba, and got actually a happy solution, BUT there's a problem that I needing to make happend automaticly.
1. Automount the DVD after inserting it into DVD-drive. Also umount the drive when pushing the buttom on the drive.
2. I shalll now restart samba after inserting the dvd - Isn't it possible that the drive is dicovered automaticly after mounted in the directory: ??? allso when finished playing the DVD - I need to stop samba before I can umount the DVD - Is it possible to avoid stopping samba for umounting the DVD ?
3. How is it possible to make this action automaticly when inserting a DVD or pushing a button on the frontend that starts it all using a shellscript or so?
Mostly becaurse I'm thinking about hidding the server in a special place and have a DVD shared from a external/internal device? So this action should happen automaticly after inserting the DVD - that its accessable on the network - and removed when pushing the button on the drive?
Let me here a little about the your experiences with this problem. I've tried the wiki about getting autofs to make it work - but here's my solution for now
TIA
P
Last edited by peque (2009-06-04 19:19:14)The automount of the drive from fstab - yes - and have no problems on the frontends.
But when inserting a DVD - you'll need to mount -a to mount the see the contents of the dvd - (if this can automaticly be disvovered by fstab - please tell me - I cannot see it)
And again afters wards - when finishing the DVD - when pressing the buttom - eject - It's says the device is busy.
You'll need to stop samba - carse its samba that uses the device. After stopping samba - no problem with umounting the device.
Again . please guide me in the rigth way - to make this happen automaticly!
Maybe you are looking for
-
Terrible customer service that sends me on a wild goose chase
I have been dealing with this so called Sony Cares Customer Service,they should call it the Sony No Answers service .I've trying to find the progress of my Z1 for 2 weeks now .And then I find out that the damage isnt covered under warranty the phone
-
Display Chinese Word In Crystal Report's Cross-Tab
Hi all, I am trying to display chinese word in my cystal report. It can be display correctly in detail, page header or formula. But when come to cross-tab, it just will show some funny symbol on it. any idea? i am using Crystal report xI release 2. T
-
Circular Dependencies Question
I want to see if anybody has some good ideas on how to solve this. I have about 20,000 slocs in one main package and about 5 sub-packages. All of the dialogs in the system originally set the parent component to null(i.e JOptionPane.showConfirmDialog(
-
Exporting a png sequence settings question
im in CC 2014 I have a few animations saved as movieclips, if I export at 32 bit I get good results with a transparent background. I was trying to cut down on the file size so I tried to go to 24 bit but I loose the transparency. Is there a another w
-
ADF Taskflow : Progrmmatically finding TaskFlow ID
Hello Friends, Can we find, what is the Taskflow id programmatically .... what i am doing is : RichPanelGroupLayout pg = (RichPanelGroupLayout)button1.getParent(); List<UIComponent> children = pg.getChildren(); since i have now all children of the pa