- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Re: new var 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
Discussions
Discussions
Forums
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
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-19-2007 04:32 AM
тАО06-19-2007 04:32 AM
new var file system
I have installed tru64 5.1b on es80 server. I took all the defualt setting for the filesystem. /var is created under usr. Now I realized that the space for /var is not enough. I have one more disk which is free. I want to now create var on this new disk and remove from where it is now.I want to create it in advfs
Pls advise how to do it
thnx in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2007 05:50 AM
тАО06-19-2007 05:50 AM
Re: new var file system
disklabel -rw
mkfdmn /dev/disk/dskNc var_domain
mkfset var_domain var
mount var_domain#var /mnt
cp -Rp /var/* /mnt
Edit /etc/fstab and add:
var_domain#var /var advfs rw 0 0
Reboot the server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2007 06:08 PM
тАО06-19-2007 06:08 PM
Re: new var file system
A couple of additions to Ivan's suggestion.
If I remember correctly a default installation puts var into a separate fileset of the usr_domain. Therefore you may also have to remove the original reference to /var from /etc/fstab.
You'll probably also need to remove that fileset once you've got /var onto its own domain so.
rmfdmn usr_domain var
Cheers,
Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2007 07:15 PM
тАО06-19-2007 07:15 PM
Re: new var file system
You have to locate all the links to /usr/var wich will have to be changed to /var. But it can be done.
It think would be technically easier to mount the new filesystem to /usr/var instead of /var. But it's less obvious for management to mount a filesystem on a second level mountpoint.
- first mount the new filesystem on /mnt
- copy all files in /usr/var to /mnt (the new filesystem)
- edit /etc/fstab to mount it to /usr/var
- reboot the system.
Another option is to simply add the second disk to the advfs-domain (i think it needs advfs utilities license to put multiple disks in a advfs domain).
I'm not sure if you nexplicitly need to "extend" the domain with the extra size.
In this scenario also /usr profits from the extra disk space. And (could be very important) the system does not need to reboot.
Pieter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2007 07:56 PM
тАО06-19-2007 07:56 PM
Re: new var file system
when I now connect to the server using the xmanager it refuses to open storage management giving some file not found errors in /etc/dt.
I hope the copying has done properly and that I will not have issues while installing oracle. I understand /var is critical for oracle.
pls suggest / advise
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2007 08:06 PM
тАО06-19-2007 08:06 PM
Re: new var file system
> /usr/var wich will have to be changed to
> /var.
Huh? If anyone is looking for /var at
/usr/var, then:
ln -s ../var /usr/var
Which is probably what it is already:
urtx# ls -ld /usr/var
lrwxrwxrwx 1 root system 6 Jan 27 2006 /usr/var -> ../var
What's the big deal?
Having /var and /usr in the same AdvFS domain
does not automatically connect the mount
points in any way. Having them in different
AdvFS domains is also pretty harmless, isn't
it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2007 08:15 PM
тАО06-19-2007 08:15 PM
Re: new var file system
> /var to /mnt [...]
Copying how? What errors? (How much
guesswork do you want here?)
Personally, if I were doing something to a
directory like /var, which is typically in
use at all times, I'd boot from a CD and do
my copying when no one is using either the
old /var or the new one. And I'd probably
use a "tar" pipeline to do the copying,
unless someone suggested something better.
And then I'd look very carefully at the real
/etc/fstab to make sure that the right /var
would get mounted when I booted off the real
disk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2007 08:28 PM
тАО06-19-2007 08:28 PM
Re: new var file system
Rather than using cp -Rp to copy the files to the new mount point, you could use a pipelined vdump vrestore.
For example:
vdump -0f - /oldvar | vrestore -xf - -D /newvar
Cheers,
Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2007 06:20 PM
тАО06-20-2007 06:20 PM
Re: new var file system
I want to create filesystem as follows:
dsk0 - ( size is 62GB)
/ dsk0a 2GB
/usr dsk0b 10GB
/var dsk0d 10GB
and swap will be on /dsk1c ( whole disk- 62Gb)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2007 06:30 PM
тАО06-20-2007 06:30 PM
Re: new var file system
During the installation you can hit a button at some stage to get into a GUI for partitioning disks.
Unfortunately I'm not in front of a system at the moment to give you the exact steps...
Cheers,
Rob