- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Directory keeps disappearing after reboot
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
08-01-2003 12:23 PM
08-01-2003 12:23 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2003 12:28 PM
08-01-2003 12:28 PM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2003 12:49 PM
08-01-2003 12:49 PM
Re: Directory keeps disappearing after reboot
A good way to do this is to boot into single user mode and take a look around.
Any files in folders that are mounted by logical volumes should be moved or deleted.
The fstab file is your key to investigation and should be available on paper before you start.
Also, take a run through your startup scripts for some script with a rm -rf in it.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2003 01:11 PM
08-01-2003 01:11 PM
Re: Directory keeps disappearing after reboot
If you are mounting a file system on that directory and you have files there, you won't be able to see the files. Try un-mounting the filesystem to see if you can find the files. I will also look at any startup script that is executing the rm command at startup or shutdown time.
Regards,
Dario
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2003 01:56 PM
08-01-2003 01:56 PM
Re: Directory keeps disappearing after reboot
Are you having to restore this data? Into a new filesystem that you've created?
Please elaborate and attach these commands:
ioscan -fnkC disk > /tmp/file1 2>&1
vgdisplay -v > /tmp/file2 2>&1
bdf > /tmp/file3 2>&1
cat /etc/fstab > /tmp/file4 2<&1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2003 08:29 AM
08-04-2003 08:29 AM
Re: Directory keeps disappearing after reboot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2003 10:32 AM
08-04-2003 10:32 AM
Re: Directory keeps disappearing after reboot
"In regards to having your root filesystem as /dev/root (should be /dev/vg00/lvol3) this needs to be fixed also. This generally can happen after booting into LVM maintenance mode or single-user mode.
# mv /etc/mnttab /etc/mnttab.bak
# mount -a
Check to make sure that /dev/vg00/lvol3 is
set to be mounted on / in your /etc/fstab file"
Basically the file system wasn't being mounted correctly after the extends. Doh!
Thank you all for your help. This was a lesson learned! :o)