- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- root file system
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-14-2005 04:34 PM
08-14-2005 04:34 PM
Thanks,
Shiv
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2005 04:46 PM
08-14-2005 04:46 PM
Re: root file system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2005 05:01 PM
08-14-2005 05:01 PM
Re: root file system
/ is a file system already!
if you do bdf, you will see, for example:
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 204800 66328 137424 33% /
it is mounted on the /dev/vg00/lvol3
do you mean all the directories found on the root file system?
typically,
dev etc sbin
regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2005 05:04 PM
08-14-2005 05:04 PM
Solutionbaffled by the question. anyway, do this to show all mounted file system:
# bdf
u will notice / itself is a file system.
# cd /
# lsf
u may then see which directories other than the mounted file systems are under /.
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2005 05:23 PM
08-14-2005 05:23 PM
Re: root file system
I think under / file system, we can put some file systems such as /etc , /sbin, etc.
But we usually separate root file system under vg00, such as follow:
#bdf|grep vg00
/dev/vg00/lvol3 204800 121721 77966 61% /
/dev/vg00/lvol1 151509 54799 81559 40% /stand
/dev/vg00/lvol7 8388608 3173290 5052422 39% /var
/dev/vg00/lvol6 2097152 1116909 919076 55% /usr
/dev/vg00/lvol5 1048576 257657 742269 26% /tmp
/dev/vg00/lvol4 2097152 1449664 607039 70% /opt
/dev/vg00/lvol8 409600 158184 235740 40% /home
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2005 06:00 PM
08-14-2005 06:00 PM
Re: root file system
Do a 'cat /etc/fstab' to see the file systems that are mounted under.
The file systems listed in the previous reply are the 'default' ones that are mounted under /. Of course your applications can mount other file systems, eg /u01 if you have an Oracle database.
best regards,
Kurt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2005 06:17 PM
08-14-2005 06:17 PM
Re: root file system
/ is the basic root file system. There are no file systems under it. We have basically /etc for configurations files, /sbin for excutables etc...
Regards
Mahesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2005 07:32 PM
08-14-2005 07:32 PM
Re: root file system
/ basicly (root file system)and as Kurt's
description ;
Do a 'cat /etc/fstab' to see the file systems that are mounted under
and when you run the command;
#bdf
you can easily see already mounted Fs&mount
points
Good Luck,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2005 09:51 PM
08-14-2005 09:51 PM
Re: root file system
Normally vg00 becomes your root vg for any HP-UX system (HP recommends). Under vg00 you will have the following filesystems (i.e /, /stand, /var, /usr, /tmp, /opt, /home)
# bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 229376 162680 66240 71% /
/dev/vg00/lvol1 327680 106576 219424 33% /stand
/dev/vg00/lvol8 2621440 106560 2495280 4% /var
/dev/vg00/lvol7 2686976 2016400 665392 75% /usr
/dev/vg00/lvol4 229376 8936 218792 4% /tmp
/dev/vg00/lvol6 2523136 1581224 934608 63% /opt
/dev/vg00/lvol5 32768 8432 24160 26% /home
You can also have different filesystem for crash.(i.e /var/adm/crash)
regards,
Babu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2005 12:35 AM
08-15-2005 12:35 AM
Re: root file system
So here are some basic rules:
- The / filesystem is static, so it never grows significantly, typically 200 megs or less is more than enough space.
- The / directory should NEVER contain any files, only directories! In order to meet that requirement, root's home directory must be moved from it's (incredibly vulnerable) default location. I recommend creating /root, then move all files from / to /root and change /etc/passwd to reflect root's new home. DO this and you'll avoid becoming a member of the infamous rm -r * club.
- Here are the *only* top level directories in / that are not mountpoints:
/dev /sbin /etc /root
That's all! Anything else must be a mountpoint. A mountpoint is an empty directory which is used to attach another disk section (lvol) such as /tmp or /opt, etc.
- To see all the directories that are part of /, use the du command and sort the results:
du -kx / | sort -rn | head
It should look something like this:
95376 /
48696 /sbin
42840 /etc
26680 /etc/vx
21656 /etc/vx/type
14992 /sbin/fs
10512 /etc/opt
8776 /sbin/fs/vxfs3.5
8616 /etc/vx/type/static
6344 /etc/vx/type/gen
The du -kx / command looks only at the directories stored in /.
Bill Hassell, sysadmin