KFS(4) Kernel Interfaces Manual KFS(4)NAME
kfs - disk file system
SYNOPSIS
disk/kfs [ -rc ] [ -b n ] [ -f file ] [ -n name ] [ -s ]
DESCRIPTION
Kfs is a local user-level file server for a Plan 9 terminal with a disk. It maintains a hierarchical Plan 9 file system on the disk and
offers 9P (see intro(5)) access to it. Kfs begins by checking the file system for consistency, rebuilding the free list, and placing a
file descriptor in /srv/name, where name is the service name (default kfs). If the file system is inconsistent, the user is asked for per-
mission to ream (q.v.) the disk. The file system is not checked if it is reamed.
The options are
b n If the file system is reamed, use n byte blocks. Larger blocks make the file system faster and less space efficient. 1024 and 4096
are good choices. N must be a multiple of 512.
c Do not check the file system.
f file Use file as the disk. The default is /dev/sd0fs.
n name Use kfs.name as the name of the service.
r Ream the file system, erasing all of the old data and adding all blocks to the free list.
s Post file descriptor zero in /srv/service and read and write protocol messages on file descriptor one.
EXAMPLES
Create a file system with service name kfs.local and mount it on /n/kfs.
% kfs -rb4096 -nlocal
% mount -c /srv/kfs.local /n/kfs
FILES
/dev/sd0fs
Default file holding blocks.
SOURCE
/sys/src/cmd/disk/kfs
SEE ALSO kfscmd(8), mkfs(8), prep(8), wren(3)KFS(4)
Check Out this Related Man Page
HOME(8) System Manager's Manual HOME(8)NAME
home, 40meg, 80meg, personalize, update, Disclabel - administration for local file systems
SYNOPSIS
gnot/home
gnot/personalize
gnot/update
magnum/home
magnum/personalize
magnum/update
pc/40meg
pc/80meg
pc/personalize
pc/update
nextstation/home
nextstation/update
DESCRIPTION
These programs help maintain a file system on a local disk for a private machine.
Home partitions a disk, copies the appropriate kernel to the disk, and makes a new file system on the disk. To do this, it overwrites the
vendor-supplied software on the disk with a copy of Plan 9. 40meg, 80meg, and 100meg configure disks and make file systems for disks of
the appropriate size.
Update copies the current kernel to the disk and updates files on the local file system. It only updates those files put there by the home
program.
Personalize removes the contents of the /usr directory on the local disk and copies a minimal set of files for the user who runs the com-
mand.
The file /rc/bin/nextstation/Disclabel, despite its name, is not an rc(1) script. It contains the second stage bootstrap program for
Nextstations booting from local disk. Before booting a Plan 9 Nextstation from disk, it should be installed in the partition
/dev/hd1label; this is normally done by nexstation/home.
FILES
/lib/proto/portproto
Mkfs prototype files for magnum/home, magnum/update, gnot/home, and gnot/update.
/lib/proto/386proto
Mkfs prototype files for pc/40meg, pc/80meg, and pc/update.
SOURCE
/rc/bin/gnot/*
/rc/bin/magnum/*
/rc/bin/pc/*
/rc/bin/nextstation/*
SEE ALSO kfs(4), mkfs(8), prep(8), wren(3)
``Installing the Plan 9 Distribution''.
HOME(8)
I removed an external Sun disk (with data on it) from an old 2.6 system and added the disk to another 2.6 system. The new system seems to recognize the system (verified by the format command).
When try to mount I am getting, I got the error:
mount: /dev/dsk/c1t1d0s6 is not this fstype.
I... (3 Replies)
Hi
Today I got a good question. One particular tester came to me and asked if it is the disk that is holding back our 2way HP 9000/A500 system.
I suddenly realized that I had no idea whether the output of iostat meant that the disk was already nearing its limits or not.
root@-------:/# iostat... (5 Replies)
I have some questions regarding disk perfomance, and what I can do to make it just a little (or much :)) more faster.
From what I've heard the first partitions will be faster than the later ones because tracks at the outer edges of a hard drive platter simply moves faster. But I've also read in... (4 Replies)
hi,
Can anyone tell me how I make a tree on the console showing the largest folders on my UNIX system?
I want to know where are located the biggest files so I can free some disk space.
thanks a lot. (3 Replies)
how to i find out the disk usage on a server.
say in windows examples its like C:/ D:/ and checking out the disk space.
how can i find in Unix.
can i just use df -k (3 Replies)
Hi Guys!!
Iam new to this thread.
I have a very urgent requirement of finding the local disk space. Iam running a php script on linux machine and need to find the local disk space on the remote machines.
I tried using df -h, which works if I specify the drive name on the remote machine.... (4 Replies)
HI ...
I am New to the Unix...I am trying to write a script to check the disk space.
But i am not able to write it.
I know the command to check the disk space df -k,but unable to write the script..Can any body help me...
Thanks in advance... (3 Replies)
Dear all,
I have system that have 2 disk, and 1 off disk is broken, how can I check if the disk is broken or other problem.
I'm using Solaris 10 x86.
Thank you,
Best Regards,
Heru (4 Replies)
Hi
I am unable to understand the disk layout of one of my disk attached to v240. This is newly installed system from jumpstart.
I am unable to see the free space on backup slice 2 and there are 0 to 8 slices listed when I run format and print the disk info, also there is no reference of... (9 Replies)
Hello,
I try to access to data after connect a new disk (hdisk1) to a AIX 7.1 system
This new disk was assigned to a rootvg from another AIX 6.1 system.
It seem not assigned to any vg
but if I tried to assigned hdisk1 to rootvg i get :
Data seem to be always here ... ouf ;-)... (4 Replies)
Hi all,
I would like to know what was the free disk space available in my system for last two days back. I know how to check free disk space by command below.
df -h
But i want to know the same outcome for last two days back. Please help me.
Reg,
Mastan (5 Replies)
Hi All,
Hope all are doing good!! Am glad that i have utilized some ideas and written a code to make the disk space result comes better and it was successfully running in the production. The next update from my manager was to make this code to come in a table format with color added.
1)... (28 Replies)
Hello,
I have some concerns over the disk management of my AIX system.
For example server1
/ > lspv
hdisk0 00fa6d1288c820aa rootvg active
hdisk1 00fa6d1288c8213c vg_2 active
hdisk2 00c1cc14d6de272b ... (6 Replies)
i have 3 servers and i am checking for the disk space of a specific mount-point, should not be more than 85 %
considering example as below
server1 mountpoint_1 has 70% diskutilization
server2 mountpoint_1 has 80% diskutilization
server3 mountpoint_1 has 7% diskutilization
now when it... (6 Replies)