06-16-2005
U can use the format command on root for viewing disk slice configuration.
In format utility, select the disk, then go to partition menu and then print the partitions. This will list all the created partitions and allocated space for each. It also list which slice is being used as swap as well as total disc capacity.
View the block numbers for each slices and compare it with total size. U will be able to find the unused space of your hard disk.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi
How do I check how many disks do I have in Solaris & HP-UX?
Also what does this mean
c9t1d5 in /dev/dsk
what is c, t, d etc
cheers (8 Replies)
Discussion started by: g-e-n-o
8 Replies
2. UNIX for Dummies Questions & Answers
Hello
I've been working on AIX 5.3 ML3 on IBM pSeries520. That server has 6 HDD drives in 3 volume groups (1+mirror in each group). I must check which phisical disk is which disk in the system. For ex. I want to know that disk in 4th slot in the machine is marked as hdisk5 on AIX. Does anybody... (2 Replies)
Discussion started by: piooooter
2 Replies
3. Solaris
I was just curious if anyone has a good tutorial or some info about how I can create and add an array of disks to solaris 8 (11 Replies)
Discussion started by: BRaider
11 Replies
4. Linux
Hi everyone,
I hope this question goes here. Anyways, I have a unique situation where my friend's comp has Fedora installed and wants to add Win XP as a dual boot without formatting the drive. Is it possible to create a partition on the current hard drive and then install win xp? I couldn't find... (4 Replies)
Discussion started by: eltinator
4 Replies
5. Solaris
whats the command to find name of all disks. Is it iostat -En ? (1 Reply)
Discussion started by: vikashtulsiyan
1 Replies
6. Solaris
I would like to know if I can move the disks from a V240 chassis into a V440 chassis to use the increased resources (CPU & Memory) to boost performance. I know you can move disks between V210/240 chassis's, but I'm not sure if this would work between 240s & 440s. Any help would be much appreciated. (4 Replies)
Discussion started by: Chains
4 Replies
7. Red Hat
I will shortly be adding a fedora flavor to my devel box. I currently have XP (installed first on an ssd), ubuntu 10.04 (installed second on the first partition of a platter drive), and I want to add either Cent or SL on the second partition of the platter drive. I will probably also want to... (0 Replies)
Discussion started by: LMHmedchem
0 Replies
8. Solaris
Hello Folks,
I´m a New Unix admin (by forceps) and I got a warning from one server saying:
Solaris Volume Manager: hostnamehere: metacheck: Report: Mon May 14 18:45:00 BRT 2012
--------------------------------------------------------------
metacheck: metadb problem, for more detail run:
... (2 Replies)
Discussion started by: pxb368@motorola
2 Replies
9. Solaris
Hi,
I got a (used) server to install Solaris 11 and wipe out every information on existing disks. There are 6 disks of 300GB and two disks of 146GB. I am not able to figure out, how to find out RAID (if there is any) and break it. Can anybody help me with that ? Below is configuration. I have... (18 Replies)
Discussion started by: solaris_1977
18 Replies
LEARN ABOUT NETBSD
scan_lfs
SCAN_FFS(8) BSD System Manager's Manual SCAN_FFS(8)
NAME
scan_ffs, scan_lfs -- find FFSv1/FFSv2/LFS partitions on a disk or file
SYNOPSIS
scan_ffs [-blv] [-e end] [-F file] [-s start] device
DESCRIPTION
scan_ffs will take a raw disk device that covers the whole disk or a file and will find all possible FFSv[12]/LFS partitions, independent of
block sizes on it. It will show the file system type (FFSv1, FFSv2, or LFS), size, and offset. Also it has an option to show the values
with a disklabel-alike output.
The options are as follows:
-b Report every superblock found with its sector address, rather than trying to report the partition boundaries. This option can
be useful to find the other superblocks in a partition if the first superblock has become corrupted. It is most useful if
device refers to the raw device for the partition, rather than the entire disk.
-e end Where to stop searching for file systems. The end argument specifies the last sector that will be searched. Default is the
last sector of device.
-F file Path to a file containing possible partitions inside of it.
-l Print out a string looking much like the input to disklabel. With a little massaging, this output can usually be used by
disklabel(8).
-s start Where to start searching for file systems. This makes it easier to skip swap partitions or other large non-UFS/FFS partitions.
The start argument specifies the first sector that will be searched. Default is the first sector of device.
-v Be verbose about what scan_ffs is doing, and what has been found.
The device argument specifies which device scan_ffs should scan for file systems.
scan_lfs is just another name for the same program, both behave in exactly the same way.
SEE ALSO
disklabel(8)
HISTORY
The scan_ffs program first appeared in OpenBSD 2.3 and then in NetBSD 3.1. Support for searching in files was added in NetBSD 4.0.
AUTHORS
scan_ffs was written for OpenBSD by Niklas Hallqvist and Tobias Weingartner. It was ported to NetBSD by Juan Romero Pardines, who added sup-
port for LFS/FFSv2, partitions with fragsize/blocksize greater than 2048/16384 for FFSv1, searching on files, etc.
BUGS
Currently scan_ffs won't find partitions with fragsize/blocksize greater than 8192/65536.
BSD
May 1, 2007 BSD