Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How do you defragment you harddrive in unix (Madrake Linux 9.0)? Post 30340 by BSeanD on Monday 21st of October 2002 05:46:39 AM
Old 10-21-2002
It's quite simple really......you don't!!! Smilie

Linux doesn't require defragmentation like windows does. Read up on the different file systems to get a better understanding of why.
 

10 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

Supplemental harddrive.

Am planning on adding a secodary SCSI hardrive to the existing 20gb drive., that I have. The old drive has Linux on it. Once, the new drive is added, I am planning on having windows on it. Firstly, could this be done ? Has anyone build a system with a similar configuration ? What is requried,... (1 Reply)
Discussion started by: matvrix
1 Replies

2. Linux

Mount a harddrive in linux.

Hey people i'm very new to linux. I just put a extra 200 gig maxtor HD in my computer. Linux can tell it's there...but it says it cant mount it. How do i mount it manually? thanks, John (2 Replies)
Discussion started by: RKJV
2 Replies

3. UNIX for Dummies Questions & Answers

Copying a file to my harddrive

I'm loged on to a unix sever over the internet and i want to copy a file from there to my harddrive. How would i go about this because cp does not seem to work. (1 Reply)
Discussion started by: zoolz
1 Replies

4. UNIX for Dummies Questions & Answers

booting from which harddrive

Hi, both of my /dev/hda and my /dev/hdb contain /boot partition. I'm wondering how to tell which harddrive's /boot is actually being read? Thanks (2 Replies)
Discussion started by: onthetopo
2 Replies

5. Solaris

installing second harddrive

This is my first post i am a solaris newbie. I just purchased my first sun system. It is a sunblade 1000. It had a fcal 36gb hdd in it already so i purchased a secondary 36gb fcal harddrive to increase my harddrive space however, how do i get it to detect the second harddrive? I have tried boot -r... (2 Replies)
Discussion started by: crzywut
2 Replies

6. Solaris

Unix command to remove external SCSI harddrive

Hi All, I have an external scsi harddrive (HD) connected directly to the workstation. I understand when the external HD is connected and turned on, and type in "devfsadm" command. Unix will detect it but not mount the drive. So by typing in "format" command it will display the following: #... (6 Replies)
Discussion started by: tlee
6 Replies

7. Solaris

Detecting Harddrive Errors

I am looking for some tips or suggestions in how to do the following. 1) From a Solaris server, I run the command iostat -En and receive output that is similiar to the following which shows your disks along with the cdrom/dvdrom: c0t2d0 Soft Errors: 0 Hard Errors: 0 Transport... (1 Reply)
Discussion started by: sunsysadm2003
1 Replies

8. UNIX for Dummies Questions & Answers

How to copy MBR from old harddrive to new harddrive?

How do I copy the master boot record from one harddrive to another or how to install just the MBR? (7 Replies)
Discussion started by: shorty
7 Replies

9. Programming

Trying to write a program to fill up my harddrive (Linux/C)

Hi guys, I'm trying to write a little program that will fill up my harddrive and will log the process during this. Now I've come up with this: #include <stdio.h> void main(void) { char cmd1; char cmd2; int i=1; sprintf(cmd2, "df -h"); while (i<=5) { system("dd... (3 Replies)
Discussion started by: Tiglet
3 Replies

10. Fedora

Partitioning harddrive for installing Linux alongside win 7.

I'm planning on using two Linux OS's alongside win 7, one being Fedora KDE 30. So to prepare for the install I partitioned my harddrive using the Minitool Partition Wizard. I have a 320 GB hdd, so I nade one partiotion about 80 GB forFedora and then left about 70 GB as unused, to later... (2 Replies)
Discussion started by: AndersA
2 Replies
balance(8)						      System Manager's Manual							balance(8)

NAME
balance - Balances the percentage of used space among volumes in a domain. SYNOPSIS
/usr/sbin/balance [-v] domain OPTIONS
Displays information on which files are being moved to different volumes. Selecting this option slows down the balance procedure. OPERANDS
Specifies the name of the AdvFS file domain. DESCRIPTION
The balance utility evenly distributes the percentage of used space between volumes in a multivolume domain. This improves performance and evens the distribution of future file allocations. Use the showfdmn command to determine the percentage of used space on each volume. This information allows you to determine the need to balance the volumes. The balance utility can be used at any time, but it is particularly useful after adding or removing a volume (addvol, rmvol) because these procedures can cause file distribution to become uneven. When you plan to run both the defragment and balance utilities on the same domain, run the balance utility before running the defragment utility. The balance utility often improves the balance of free space, thus enabling the defragment utility to run more quickly. Before you can balance volumes in a file domain, all filesets in the file domain must be mounted. If you try to balance volumes in an active file domain that includes unmounted filesets, the system displays an error message indicating that a fileset is unmounted. RESTRICTIONS
You must be the root user to use this utility. You cannot run the balance utility while the addvol, rmvol, defragment, rmfset, or balance utility is running on the same file domain. If you attempt to do this, a warning message is displayed. The balance utility does not operate on striped files in the domain and does not include them in its calculations on used space. EXAMPLES
The following example shows the procedure for determining the percentage of used space on each volume of the two-volume usr_domain file domain and then redistributing the files to balance the percentage of used space. The final showfdmn command shows the redistributed per- centage of used space. # showfdmn usr_domain Id Date Created LogPgs Domain Name 2dcab512.000d1ed0 Fri May 7 14:22:26 1999 512 usr_domain Vol 512-Blks Free % Used Cmode Rblks Wblks Vol Name 1L 819200 126848 85% on 128 128 /dev/dsk8g 2 768281 768080 0% on 128 128 /dev/dsk9d ---------- ---------- ------ 1587481 894928 44% # balance usr_domain balance: Balancing domain 'usr_domain' balance: Balanced domain 'usr_domain' # showfdmn usr_domain Id Date Created LogPgs Domain Name 2dcab512.000d1ed0 Fri May 7 14:22:26 1999 512 usr_domain Vol 512-Blks Free % Used Cmode Rblks Wblks Vol Name 1L 819200 459248 44% on 128 128 /dev/dsk8g 2 768281 433632 44% on 128 128 /dev/dsk9d ---------- ---------- ------ 1587481 892880 44% The files are now distributed more evenly between the two volumes. SEE ALSO
Commands: addvol(8), defragment(8), rmvol(8), showfdmn(8) balance(8)
All times are GMT -4. The time now is 09:03 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy