- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- symbolic link ln or mount??
Operating System - HP-UX
1822743
Members
4136
Online
109645
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
Forums
Discussions
юдл
back
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
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО04-03-2007 01:43 AM
тАО04-03-2007 01:43 AM
symbolic link ln or mount??
Hello..
I have my /home dir filled to 95% but other partition other disk
/my/other/disk has only 2% data on it..
how to say from now on when writing anything to /home that would write to /my/other/disk
I tried with symbolic link something..
or can I mount some directory to other on other disk??
Can U help me out with these concepts..
Thanks in advance..
I have my /home dir filled to 95% but other partition other disk
/my/other/disk has only 2% data on it..
how to say from now on when writing anything to /home that would write to /my/other/disk
I tried with symbolic link something..
or can I mount some directory to other on other disk??
Can U help me out with these concepts..
Thanks in advance..
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2007 01:50 AM
тАО04-03-2007 01:50 AM
Re: symbolic link ln or mount??
I would just create another logical volume in a volume group. Then mount that lvol and copy your /home directory data to the new mount point. When you are done you can then umount the new home lvol and umount /home and mount /home to the new lvol. Also make sure to update your /etc/fstab file.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2007 01:50 AM
тАО04-03-2007 01:50 AM
Re: symbolic link ln or mount??
Is your /home directory used for users' home accounts? If so, you might like to move them to a new lvol on the second disc. E.g. /home/user1 could be a filesystem in its own right, which means when user1 creates a file it does not take up any room in /home.
Mark Syder (like the drink but spelt different)
Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2007 01:54 AM
тАО04-03-2007 01:54 AM
Re: symbolic link ln or mount??
I am not sure if I understand "can I mount some directory to other on other disk??". But, one parition/LV can only be mounted on one mountpoint at any given time, unless you use the LOFS filesystem type.
If you umount /home and create a symbolic link for /home from /my/other/disk , then ofcourse you will not see the old contents of /home.
Find out who is the user occupying more space in /home and have them perform housekeeping on the directories.
# cd /home
# du -sk * | sort -n
If possible, you should also look in to extending the filesystem. In my opinion, that is the cleanest way to address this problem.
If you umount /home and create a symbolic link for /home from /my/other/disk , then ofcourse you will not see the old contents of /home.
Find out who is the user occupying more space in /home and have them perform housekeeping on the directories.
# cd /home
# du -sk * | sort -n
If possible, you should also look in to extending the filesystem. In my opinion, that is the cleanest way to address this problem.
Learn What to do ,How to do and more importantly When to do ?
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP