02-25-2008
zazzybob - how would i use that command in this case?
my issue's that /usr is full and that being part of /, i'm looking to increase its space or assign any unallocated space to it
9 More Discussions You Might Find Interesting
1. Solaris
hi,
i created a partition c1t0d0s5 sized 10gb and a soft partition on it. now i want to expand this size to 15gb (my hard disk is 36gb). anybody show me the way to do that, please.
here are the outputs of the df and format commands:
# df -h
Filesystem size used avail capacity ... (5 Replies)
Discussion started by: xuc_xich_duc
5 Replies
2. Solaris
Dear all, How can we increase the space for the root partition, ensuring that there is no loss of data in Solaris 9. How can the growfs command be utilized in this case.
Thanks. (7 Replies)
Discussion started by: asadlone
7 Replies
3. Solaris
Hi guys,
I have an V100 server and I'm about to install solaris 8 on it (I have 10 on currently but most of my work is on 8 so I'm going to that).
It would be easy for me to post system specs and get a recommendation, but what I'd like is to know HOW to calculate so that I can set up other... (1 Reply)
Discussion started by: Stin
1 Replies
4. UNIX for Dummies Questions & Answers
Hi,
Is there any command to increase the size of the samba partition when the samba share is online??
Regards
Arun (1 Reply)
Discussion started by: Arun.Kakarla
1 Replies
5. Solaris
Hi
we have a sunfire v880 server . we have a problem with root partion it showing 90% full. so anyone can help me how to increase the size of that partion.
NOTE: It is not in veritas & SVM control.
Regards
prakash (6 Replies)
Discussion started by: pshelke
6 Replies
6. Linux
hi
I am trying to create primary,extended and logical partitions.
when I try to create a primary partition, I can give it maximum 1027M (1gb). Why? (9 Replies)
Discussion started by: tjay83
9 Replies
7. HP-UX
Experts,
I want to know how to increase partion size in Hp-ux.Actually we installed oracle in separate part ion.As increase of database went to 99% :eek:.What ever data which is in it is important.so i dont want to delete any data in that partion.Now the size of that is 250 GB.I want the same to... (2 Replies)
Discussion started by: naveennella
2 Replies
8. Shell Programming and Scripting
hi want to schedule a script for displaying the size of the partiition.
For example
df -g
/dev/fslv03 2000.00 535.43 74% 179943 1% /nvbkp
we have several mount point like this but i want to schedule script to display size of the above mount point only.
Thanks
Ankit (4 Replies)
Discussion started by: ankit2012
4 Replies
9. Red Hat
Dear All ,
We need to increase the size of the root partition in a RHEL server.
The model is Product Name: SUN FIRE X4170 SERVER.
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
119G 47G 67G 41% /... (3 Replies)
Discussion started by: jegaraman
3 Replies
LEARN ABOUT DEBIAN
zerofree
ZEROFREE(8) System Manager's Manual ZEROFREE(8)
NAME
zerofree -- zero free blocks from ext2, ext3 and ext4 file-systems
SYNOPSIS
zerofree [-n] [-v] [-f fillval] filesystem
DESCRIPTION
zerofree finds the unallocated, blocks with non-zero value content in an ext2, ext3 or ext4 filesystem (e.g. /dev/hda1) and fills them with
zeroes (or another octet of your choice).
Filling unused areas with zeroes is useful if the device on which this file-system resides is a disk image. In this case, depending on the
type of disk image, a secondary utility may be able to reduce the size of the disk image after zerofree has been run.
Filling unused areas may also be useful with solid-state drives (SSDs). On some SSDs, filling blocks with ones (0xFF) is reported to trig-
ger Flash block erasure by the firmware, possibly giving a write performance increase.
The usual way to achieve the same result (zeroing the unallocated blocks) is to run dd (1) to create a file full of zeroes that takes up
the entire free space on the drive, and then delete this file. This has many disadvantages, which zerofree alleviates:
o it is slow;
o it makes the disk image (temporarily) grow to its maximal extent;
o it (temporarily) uses all free space on the disk, so other concurrent write actions may fail.
filesystem has to be unmounted or mounted read-only for zerofree to work. It will exit with an error message if the filesystem is mounted
writable. To remount the root file-system readonly, you can first switch to single user runlevel (telinit 1) then use mount -o remount,ro
filesystem.
zerofree has been written to be run from GNU/Linux systems installed as guest OSes inside a virtual machine. In this case, it is typically
run from within the guest system, and a utility is then run from the host system to shrink disk image (VBoxManage modifyhd --compact, pro-
vided with virtualbox, is able to do that for some disk image formats).
It may however be useful in other situations: for instance it can be used to make it more difficult to retrieve deleted data. Beware that
securely deleting sensitive data is not in general an easy task and usually requires writing several times on the deleted blocks.
OPTIONS
-n Perform a dry run (do not modify the file-system);
-v Be verbose;
-f value Specify the octet value to fill empty blocks with (defaults to 0). Argument must be within the range 0 to 255.
SEE ALSO
dd (1).
AUTHOR
This manual page was written by Thibaut Paumard <paumard@users.sourceforge.net> for the Debian system (but may be used by others). Permis-
sion is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or any later
version published by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-2.
ZEROFREE(8)