05-18-2004
Automount
My site has a few sun solaris server including out NIS server and NFS server on solaris machines. we also have few suse linux and redhat linux machine.
All our home directory is on our NFS server(sun Solaris) and this is automounted through /etc/auto_master and /etc/auto_home this worked fine all our sun machine, so I can log on to any Sun machine and get my home directory but when I try logon to linux machine I get the following "Could not chdir to home directory /home/lion/staff/hassan: No such file or directory"
on my linux /var/log/messages I get the following
automount[30261]: attempting to mount entry /home/lion
humboldt automount[30306]: lookup(file): lookup for lion failed
my auto.home looks like this on linux just like my sun machines
+auto.home
my auto.master looks like
/- auto.home -rw,hard,intr,quota,nosuid,browse
Can you help? please. it works fine on Sun but not on any on my linux machines.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I install an external disk on my sun solaris 8
this went fine and I was able to access all filesystem on the disk. the new disk is mounted on /local
then 6 hours later
files under /local/files was 1 byte in size
at the same time I received the following
error message in... (4 Replies)
Discussion started by: hassan2
4 Replies
2. UNIX for Advanced & Expert Users
Hi All
How do I do a auto mount to a directory in a different unix server. I am using Solaris.
Please advise!!
TIA
Jana (7 Replies)
Discussion started by: janavenki
7 Replies
3. UNIX for Dummies Questions & Answers
Hello,
I was reading about automounting on Solaris10 and faced with the following sentence:
"When the automount daemon is initialized on the server, no exported directories are mounted by the clients."
What does it mean? Could you please explain? What is "exported directories" ?
Thanks (8 Replies)
Discussion started by: XNOR
8 Replies
4. UNIX for Dummies Questions & Answers
Folks;
I'm mounting a directory on a different SUSE 10 server from my SUSE server fine. using this mount command:
# mount 192.168.132.11:/var/local/new /var/local/new
this command above works fine but when i added a new line to my "/etc/fstab" to be mounted automatically every time i... (2 Replies)
Discussion started by: Katkota
2 Replies
5. Shell Programming and Scripting
I'm attempting to take an fstab that looks something like this:
/proc /proc proc rw,nosuid,nodev,noexec 0 0
/sys /sys sysfs rw,nosuid,nodev,noexec 0 0
/dev/shm /dev/shm tmpfs rw,nosuid,nodev,noexec 0 0
/dev/pts /dev/pts devpts mode=0622 0 0... (6 Replies)
Discussion started by: unclecameron
6 Replies
6. Solaris
Hi friends
I'm a newbie trying to automount a nfs shared directory. Below is the configuration I'm using
FreeBSD machine as NFS server. IP Address - 192.168.1.60
# cat /etc/exports
/shared 192.168.1.50
Solaris 10 as NFS client. IP Address - 192.168.1.50
# cat... (1 Reply)
Discussion started by: pankajj
1 Replies
7. AIX
Hi All,
Please help. I need an advise on how to Unconfigure automount please.
Many Thanks. (2 Replies)
Discussion started by: EngnrRG
2 Replies
8. Linux
Hi,
Please give step by step how to do automount in linux
Thanks,
Mani (9 Replies)
Discussion started by: Mani_apr08
9 Replies
9. Red Hat
Hello experts,
On my RHEL box when i mount a nfs file system using autofs, the df -t shows the file system as nfs only. For which mounts does it report the filesystem as autofs. ?? I actually want to see the filesystem getting reported as autofs instead of nfs. Pls guide me
I... (1 Reply)
Discussion started by: achak01
1 Replies
10. Red Hat
When i export the directory where the data really is, i can specify which hosts can mount it. On the remote server i create a mount point directory and then mount it to the source servers directory (that has the data).
I need to run my script on Server X , i would login there and type in the... (11 Replies)
Discussion started by: bkilaru
11 Replies
LEARN ABOUT DEBIAN
linux::distribution
Linux::Distribution(3pm) User Contributed Perl Documentation Linux::Distribution(3pm)
NAME
Linux::Distribution - Perl extension to detect on which Linux distribution we are running.
SYNOPSIS
use Linux::Distribution qw(distribution_name distribution_version);
if(my $distro = distribution_name) {
my $version = distribution_version();
print "you are running $distro, version $version
";
} else {
print "distribution unknown
";
}
Or else do it OO:
use Linux::Distribution qw(distribution_name distribution_version);
my $linux = Linux::Distribution->new;
if(my $distro = $linux->distribution_name()) {
my $version = $linux->distribution_version();
print "you are running $distro, version $version
";
} else {
print "distribution unknown
";
}
DESCRIPTION
This is a simple module that tries to guess on what linux distribution we are running by looking for release's files in /etc. It now looks
for 'lsb-release' first as that should be the most correct and adds ubuntu support. Secondly, it will look for the distro specific files.
It currently recognizes slackware, debian, suse, fedora, redhat, turbolinux, yellowdog, knoppix, mandrake, conectiva, immunix, tinysofa,
va-linux, trustix, adamantix, yoper, arch-linux, libranet, gentoo, ubuntu, scientific, oracle enterprise linux and redflag.
It has function to get the version for debian, suse, fedora, redhat, gentoo, slackware, scientific, oracle enterprise linux, redflag and
ubuntu(lsb). People running unsupported distro's are greatly encouraged to submit patches :-)
EXPORT
None by default.
TODO
Add the capability of recognize the version of the distribution for all recognized distributions.
AUTHORS
Alexandr Ciornii <alexchorny@gmail.com>, <http://chorny.net> Alberto Re, <alberto@accidia.net> Judith Lebzelter, <judith@osdl.org>
COPYRIGHT AND LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.5 or,
at your option, any later version of Perl 5 you may have available.
perl v5.14.2 2012-03-18 Linux::Distribution(3pm)