Sponsored Content
Special Forums Hardware Filesystems, Disks and Memory Hard Disk parameters (caching/dma) Post 15830 by killerserv on Wednesday 20th of February 2002 04:01:43 AM
Old 02-20-2002
in freeBSD to enable the Soft Updates try:
# tunefs -n enable /filesystem

*tunefs - tune up an existing file system

I tried to check the similiars with hdparm in FreeBSD, NetBSD & OpenBSD but cant get and accurate answer for that.

Try to search in the man page hdparm for freebsd, openbsd and netbsd.
 

10 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

hard disk meltdown

I had an issue with a second hard disk in my machine. I have a sparc station running solaris 7. It was working fine but now it wont mount on boot up and when you try to mount it manually it gives an I/O error. I tried a different disk as a control which was fine. What I want to know is if my... (3 Replies)
Discussion started by: Henrik
3 Replies

2. UNIX Desktop Questions & Answers

Hard Disk

I have a cuestion. How Can I to add other hard disk to my computer? I need to configurate anyone? (4 Replies)
Discussion started by: hmaraver
4 Replies

3. Programming

how to load a file in memory for doing DMA transfer to Bus master DMA

i need to send a file to the ethernet card , thro DMA mode i have an bus master ethernet card soo how can i initiate the dma for the ethernet card??? and how do i load the file into memory so tht i can directly give the address of the file to nic for DMA transfer pls help :( :( (0 Replies)
Discussion started by: arunkumarspk
0 Replies

4. AIX

Disk tuning parameters

I swapped out 2 72 gb disk drives for 2 146 gb drives, both of which spin at 15k. Are there any I/O parameters I should modify or can modify to get the most out of the new disks? Thanks, Mike M. (1 Reply)
Discussion started by: gravy26
1 Replies

5. UNIX for Dummies Questions & Answers

Hard Disk at 99% Help!

:eek: I use this Solaris to run CMS a call acounting software package for my job. No one could run reports today because it said the this when you logged on "The following file systems are low, and could adversely affect server performance: File system /: 99%full" Can some one please explain... (9 Replies)
Discussion started by: mannyisme
9 Replies

6. SCO

declare disk driver for IDE hard disk

hi I've a fresh installation of SCO 5.0.7 on the IDE hard disk. For SCSI hard disk I can declare, for example blc disk driver using: # mkdev hd 0 SCSI-0 0 blc 0but it works for IDE hard disk? (3 Replies)
Discussion started by: ccc
3 Replies

7. Linux

C++ Code to Access Linux Hard Disk Sectors (with a LoopBack Virtual Hard Disk)

Hi all, I'm kind of new to programming in Linux & c/c++. I'm currently writing a FileManager using Ubuntu Linux(10.10) for Learning Purposes. I've got started on this project by creating a loopback device to be used as my virtual hard disk. After creating the loop back hard disk and mounting it... (23 Replies)
Discussion started by: shen747
23 Replies

8. AIX

Adding New Hard Disk

Hi, On P5 I would like to add hard drive, currently 2 hard disk are already exists, would like to add one more, 2 Slots are emtpy, I would like to know how to find out wheather adapter is attached to that 2 free slot using command. (7 Replies)
Discussion started by: manoj.solaris
7 Replies

9. BSD

Migrate a Hard Disk

hi Has anyone already tried to migrate a hard disk with FreeBSD using recoverdisk? (1 Reply)
Discussion started by: ccc
1 Replies

10. Solaris

Is there disk-level caching in Solaris 11?

I have an iSCSI disk at /dev/rdsk/c5t6d0 I have made a partition (slice with UEFI label) at: /dev/rdsk/c5t6d0s0 Now I write some data to the slice: echo "xyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxy" >/text dd if=/text of=/dev/dsk/c5t6d0s0 If I dump the disk contents I... (2 Replies)
Discussion started by: dorbaruch
2 Replies
tunefs(1M)						  System Administration Commands						tunefs(1M)

NAME
tunefs - tune an existing UFS file system SYNOPSIS
tunefs [-a maxcontig] [-d rotdelay] [-e maxbpg] [-m minfree] [-o space | time] special | filesystem DESCRIPTION
tunefs is designed to change the dynamic parameters of a file system that affect the layout policies. When using tunefs with filesystem, filesystem must be in /etc/vfstab. The parameters that can be changed are indicated by the options given below. OPTIONS
The following options are supported: -a maxcontig The maximum number of logical blocks, belonging to one file, that is allocated contiguously. The default is calculated as follows: maxcontig = disk drive maximum transfer size / disk block size If the disk drive's maximum transfer size cannot be determined, the default value for maxcontig is calculated from kernel parameters as follows: If maxphys is less than ufs_maxmaxphys, which is 1 Mbyte, then maxcontig is set to maxphys. Otherwise, maxcontig is set to ufs_maxmax- phys. You can set maxcontig to any positive integer value. The actual value will be the lesser of what has been specified and what the hardware supports. -d rotdelay This parameter is obsolete as of the Solaris 10 release. The value is always set to 0, regardless of the input value. -e maxbpg Indicates the maximum number of contiguous logical blocks any single file can allocate from a cylinder group before it is forced to begin allocating blocks from another cylinder group. Typically this value is set to approximately one quarter of the total contiguous logical blocks in a cylinder group. The intent is to prevent any single file from using up all the blocks in a single cylinder group, thus degrading access times for all files subsequently allocated in that cylinder group. The effect of this limit is to cause big files to do long seeks more frequently than if they were allowed to allocate all the blocks in a cylinder group before seeking elsewhere. For file systems with exclusively large files, this parameter should be set higher. -m minfree Specifies the minimum free space threshold, or the percentage of space held back from normal users. This value can be set to 0. How- ever, up to a factor of three in throughput will be lost over the performance obtained at a 10% threshold. Note: If the value is raised above the current usage level, users will be unable to allocate files until enough files have been deleted to get under the higher threshold. -o space|time The file system can either be instructed to try to minimize the time spent allocating blocks, or to try to minimize the space fragmen- tation on the disk. The default is time. Generally, you should optimize for time unless the file system is over 90% full. USAGE
See largefile(5) for the description of the behavior of tunefs when encountering files greater than or equal to 2 Gbyte ( 2**31 bytes). ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
mkfs_ufs(1M), newfs(1M), attributes(5), largefile(5) SunOS 5.10 5 Dec 2003 tunefs(1M)
All times are GMT -4. The time now is 08:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy