Allocating space to ufs /usr by using ZFS in solaris
Hi,
Im currently having my diskspace allocation of my UFS filesystem in solris as 100% for /usr
directory.I have created a zfs pool of 3 gb.I want to allocate space from my zfs pool to /usr so that i can free space in /usr.Please help me it is quiet urgent.
Well, you can't allocate zfs to ufs, but you can create a symlink to zfs. Figure out 1+ subdirectories of /usr you can move and move them to the zvol.
example:
I would probably do that while booting off cd and mounting your root disk to /a, just to be safe. Of course, you could just move the entire /usr volume to the zfs pool and do a
zfs set mountpoint=/usr zpool/vol1, but you just wanted to clear some space.
Beware that relocating the whole /usr to a zfs filesystem might possibly make your system unbootable.
Relocating parts of /usr using symbolic links (outside /usr/local which isn't part of Solaris) would likely render your system un-patchable, un-upgradeable and of certainly unsupported.
Beware that relocating the whole /usr to a zfs filesystem might possibly make your system unbootable.
Relocating parts of /usr using symbolic links (outside /usr/local which isn't part of Solaris) would likely render your system un-patchable, un-upgradeable and of certainly unsupported.
Correct, that's why i kind of suggested /usr/local, as that's usually patches or packages installed from sunfreeware or what not.
I only offered moving the entire /usr if it was a last resort.
You could also remove packages that are not needed. For example, if this system is not used to host user desktops, you could remove the GNOME packages. Next you could remove any unnecessary fonts and language packages. You could also remove the StarOffice packages.
Hi Folks!
Its been a while since I worked with ZFS but basically, I need to monitor free space for Solaris 10 & 11 systems (with & without zones)
I am hoping that any space commands only need to be run from the global zone (to simplify matters)
However, I'm not not sure if there are exceptions... (2 Replies)
I have installed samba by cmd yup install samba -a
and configured my samba server.But i want my samba users to lo-gin from windows users and contain allocated amount of space.
plz help me............ (1 Reply)
Hello All,
Good Morning, We are trying to convert the UFS root in to ZFS. Am getting below error. Any one help me out on this ?
bash-3.00# zpool list
NAME SIZE USED AVAIL CAP HEALTH ALTROOT
guru 5.95G 483M 5.48G 7% ONLINE -
bash-3.00# zpool create rpool c2t10d0p0... (4 Replies)
have a VMWARE machine, I have extended it from 20GB to 30GB for Linux box.
The linux box shows this for df -hal:
Filesystem Size Used Avail Use% Mounted on
-dev-mapper-VolGroup00-LogVol00
19G 5.9G 12G 34% -
proc 0 0 0 - -proc
sysfs 0 0 0 - -sys
devpts 0 0 0 - -dev-pts
-dev-sda1 99M 13M... (1 Reply)
Hello, I am new to Solaris so i apologize upfront if my questions seem trivial.
I am trying to install a ZFS file system on a Solaris 10 machine with UFS already installed on it.
I want to run: # zpool create pool_zfs c0t0d0
then: # zfs create pool_zfs/fs
My question is more to... (3 Replies)
Hi,
I have a solaris 9-sparc box, which after bouncing is giving swap space related error messages(that swap space is not enough). could it be possible that there was some command issued or setting made before bouncing, which was lost after bouncing? please let me know how i can add swap space... (1 Reply)
Hi,
Is their an easy way to realloate hard drive space on Solaris 10.
For example :
/c20td0 10G
/space 90 G
I would like to move some of the hard-drive space from "/space" and add it to "/c20td0". In Windows this can be easily done using Partition magic, anything similar for UNIX? (4 Replies)