- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- bdf not see /etc
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
03-13-2002 04:54 AM
03-13-2002 04:54 AM
I can??t see /etc from bdf but i can acces to the directory and see the files. I had add in the files fstab and mnttab the lines for /etc.
if i rebbot the machine the line for the file mnttab is deleted.
if i do
mount /dev/vg00/lvol2 /etc the respond is:
/dev/vg00/lvol2: unrecognized file system
thank you.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2002 05:01 AM
03-13-2002 05:01 AM
Solutionand the reason you get the error is that unless you have changed something, /dev/vg00/lvol2 is your primary swap device.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2002 05:04 AM
03-13-2002 05:04 AM
Re: bdf not see /etc
/etc/ is a directory under /
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2002 05:07 AM
03-13-2002 05:07 AM
Re: bdf not see /etc
lvlnboot -v should defined it:
kibo:root> lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c1t15d0 (0/0/1/1.15.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c1t15d0
Root: lvol3 on: /dev/dsk/c1t15d0
Swap: lvol2 on: /dev/dsk/c1t15d0
Dump: lvol2 on: /dev/dsk/c1t15d0, 0
kibo:root> bdf
Filesystem kbytes used avail %used Mounted on
/dev/root 143360 37736 99143 28% /
/dev/vg00/lvol1 83733 30462 44897 40% /stand
/dev/vg00/lvol8 1740800 888234 799742 53% /var
/dev/vg00/lvol7 2048000 583054 1373427 30% /usr
/dev/vg00/lvol4 512000 388966 115550 77% /tmp
/dev/vg00/lvol6 2048000 1278911 721184 64% /opt
/dev/vg00/lvol5 40960 32028 8399 79% /home
kibo:root> cat /etc/fstab
# System /etc/fstab file. Static information about the file systems
# See fstab(4) and sam(1M) for further details on configuring devices.
/dev/vg00/lvol3 / vxfs delaylog 0 1
/dev/vg00/lvol1 /stand hfs defaults 0 1
/dev/vg00/lvol4 /tmp vxfs delaylog 0 2
/dev/vg00/lvol5 /home vxfs delaylog 0 2
/dev/vg00/lvol6 /opt vxfs delaylog 0 2
/dev/vg00/lvol7 /usr vxfs delaylog 0 2
/dev/vg00/lvol8 /var vxfs delaylog 0 2
Try the fstyp command before mounting.
kibo:root> fstyp /dev/vg00/lvol1
hfs
kibo:root> fstyp /dev/vg00/lvol2
unknown_fstyp (no matches)
kibo:root> fstyp /dev/vg00/lvol3
vxfs
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2002 05:09 AM
03-13-2002 05:09 AM
Re: bdf not see /etc
1. Normally on HP-UX installations /etc is not a mounted filesystem but simply a directory under root. This is so that when you are in single user mode you can access all of the files in /etc without having a mounted file system.
2. /dev/vg00/lvol2 is normally swap space, (raw device) which is why you receive "unrecognized file system".
3. If you are simply trying to see the size of the /etc directory I would suggest you use something like the du command.
# du -sk /etc
1520 /etc
The number here is displayed in 1024-byte blocks.
Perhaps it would be better if you told us what it is you are trying to achieve?
Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2002 01:47 PM
03-22-2002 01:47 PM
Re: bdf not see /etc
Regards,
Jason V.