- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- booting without NFS
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2002 02:56 AM
06-21-2002 02:56 AM
While booting, HP-UX searches this non-existing NFS-server. It's searching for a while and it doesn't seem to stop any more...
How can I kill the invalid entry in /etc/fstab? I booted in single user mode but then I have no chance to edit the file.
I can't mount any other filesystem (e.g. /usr), because it's dirty and fsck terminates with an error (wrong filesystem -> it's Veritas vxfs).
Any ideas?
Thanks in advance!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2002 03:00 AM
06-21-2002 03:00 AM
Re: booting without NFS
OR
boot to hpux -lm(;0)/stand/vmunix
then do fsck
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2002 03:03 AM
06-21-2002 03:03 AM
Re: booting without NFS
I can't run fsck, because it creates an error like "wrong file system" or something like that. It doesn't seem to work with Veritas vxfs.
Unsuddenly no tape available... :-(
Is there no possibility to boot without starting NFS at all?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2002 03:09 AM
06-21-2002 03:09 AM
Re: booting without NFS
try running fsck the /usr logical volume and mounting the filesystem.Now edit
the /etc/fstab. IF NOT
In single user mode edit /etc/inittab file
and change initdefault runlevel in the first line of the file to
init:2:initdefault:
reboot the system , since the system does not touch runlevel 3 nfs server will not run . Now run fsck on /usr raw logical volume and mount it and edit the /etc/fstab
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2002 03:20 AM
06-21-2002 03:20 AM
Re: booting without NFS
Sorry forgot about /usr problem. again there is a way
From single user mode give
#init 2
#/sbin/init.d/net start
From another Hp-UX server
ftp "ip of problematic server"
login and put /usr/bin/vi to problematic server
ftpd will work because it is in /usr/lbin/ftpd
Now back to problematic server
#vi /etc/fstab
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2002 03:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2002 03:32 AM
06-21-2002 03:32 AM
Re: booting without NFS
Many thanks for your hints, I'll save them for later tests.
Have a nice weekend!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2002 03:37 AM
06-21-2002 03:37 AM
Re: booting without NFS
1.Boot through your core OS cdrom
boot from your CD do not interact with ISL.
2.From the options listed
go to
Exit to recovery shell.
use x to exit into the shell.
3.run chroot_lvmdisk
Enter the exact hardware path of the root file system residing disk.
4.Now enter
cd ROOT; chroot /ROOT /sbin/sh
at the prompt.
5. vgchange -a y /dev/vg00.
now your /usr file system will be mounted.
Now you can edit your /etc/fstab and change the required entry.
just reboot.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2002 04:12 AM
06-21-2002 04:12 AM
Re: booting without NFS
execute following echo " cat - << EOF|ed -s file1
1,$s/abc/#abc/
w file1
q
EOF" >> test.sh
this will create test.sh file, then chmod 700 test.sh
then ./test.sh
In above echo command abc should exactly be your nfs mount point. This just puts the #for nfs mount point.
Then boot, hope it works and you boot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2002 04:56 AM
06-21-2002 04:56 AM
Re: booting without NFS
in single user mode
cp /etc/fstab /etc/fstab.saved
cat /etc/fstab | grep -v NFS-server > /etc/fstab.new
cp /etc/fstab.new /etc/fstab
reboot -n
cheers
John.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2002 06:17 AM
06-21-2002 06:17 AM
Re: booting without NFS
boot to single user mode
ISL> hpux -is
when it cones up, mount the good stuff in vg00, really only need /var & /
# vgchange -a y vg00
# mount /dev/vg00/lvol8 /var
# vi /etc/rc.config.d/nfsconf
edit it so NFS does not come up
# vi /etc/fstab
# init 3
No recovery CD...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2002 06:26 AM
06-21-2002 06:26 AM
Re: booting without NFS
It sounds like single user mode would work for you if only you could get /usr mounted. How are you trying to run your fsck? Are you specifying the FSType? From the man page for fsck:
-F FStype Specify the file system type on which to operate
(see fstyp(1M) and fs_wrapper(5)). If this option
is not included on the command line, then the file
system type is determined from the file /etc/fstab
by matching special with an entry in that file.
If there is no entry in /etc/fstab, then the file
system type is determined from the file
/etc/default/fs.
This might account for your wrong filesystem error.
HTH,
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2002 12:32 AM
06-24-2002 12:32 AM
Re: booting without NFS
I just did a ctrl-c during the nfs-client subsystem. Then I could edit /etc/fstab, where I commented out the NFS-mount.
The server started perfectedly.