Hi,
Recently I came into ownership of a solaris server with a pretty low spec. I am having trouble with the disk setup on it. There are 2 disks which I would like to 'rearrange' a bit.
Firstly, a df -k produces:
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c0t0d0s0 2017894 1307659 649699 67% /
/proc 0 0 0 0% /proc
mnttab 0 0 0 0% /etc/mnttab
fd 0 0 0 0% /dev/fd
swap 683416 104 683312 1% /var/run
swap 683312 0 683312 0% /tmp
/dev/dsk/c0t0d0s7 6134885 350130 5723407 6% /export/home
(sorry for the misalignment).
As you can see, the s0 disk is bearing the brunt of the files. I would like to have, say, the /var mountpoint on the second empty disk. Maybe create a few lvols(?) to split the disks up. How would I start with this? Could I make a copy of my /var, delete the /var then recreate on the 2nd disk, finally recopying the /varcopy back to /var? Or is this complete nonsense?
Any ideas/help much appreciated! In the meantime, I'm off to confuse myself even more with the solaris manual.
Thanks,
Sean
Recently I came into ownership of a solaris server with a pretty low spec. I am having trouble with the disk setup on it. There are 2 disks which I would like to 'rearrange' a bit.
Firstly, a df -k produces:
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c0t0d0s0 2017894 1307659 649699 67% /
/proc 0 0 0 0% /proc
mnttab 0 0 0 0% /etc/mnttab
fd 0 0 0 0% /dev/fd
swap 683416 104 683312 1% /var/run
swap 683312 0 683312 0% /tmp
/dev/dsk/c0t0d0s7 6134885 350130 5723407 6% /export/home
(sorry for the misalignment).
As you can see, the s0 disk is bearing the brunt of the files. I would like to have, say, the /var mountpoint on the second empty disk. Maybe create a few lvols(?) to split the disks up. How would I start with this? Could I make a copy of my /var, delete the /var then recreate on the 2nd disk, finally recopying the /varcopy back to /var? Or is this complete nonsense?
Any ideas/help much appreciated! In the meantime, I'm off to confuse myself even more with the solaris manual.
Thanks,
Sean