12-12-2003
Try using "df" utility this will tell you the free blocks in the tape
also you can use "du" for knowing the disk usage
Cheers
JK
10 More Discussions You Might Find Interesting
1. Linux
We are intending to protect a set of user specified files using LVM mirroring where the protected space on which the user files are stored is mirrored on an LV on a different disk. Our problem is that for a user with a custom layout has installed linux with 2 partitons for swap and / and there is... (0 Replies)
Discussion started by: kickdgrass
0 Replies
2. UNIX for Dummies Questions & Answers
Is possible to see how much available space there is on a ftp server and how much is used through ftp ? how ?
free space:
used space:
thanks (1 Reply)
Discussion started by: aneuryzma
1 Replies
3. Solaris
We are using this function tmpfile() :
FILE *tmpfp ;
if ((tmpfp = tmpfile()) == NULL)
{
fprintf(stderr, "%s: ERROR: init_operator(): ", ROUTINE);
perror("tmpfile()");
exit(ERR_OPEN);
}
and the above is raising error :
MSMD0603: ERROR:... (3 Replies)
Discussion started by: atiato
3 Replies
4. Shell Programming and Scripting
Good afternoon! Im new at scripting and Im trying to write a script to
calculate total space, total used space and total free space in filesystem names matching a keyword (in this one we will use keyword virginia). Please dont be mean or harsh, like I said Im new and trying my best. Scripting... (4 Replies)
Discussion started by: bigben1220
4 Replies
5. Solaris
hi guys, me again ;)
i recently opened a thread about physical to zone migration.
My zone is mounted over a "bigger" LUN (500GB) and step is now to move the old files, from the physical server, to my zone.
We are talking about 22mio of files.
i used rsync to do that and every time at... (8 Replies)
Discussion started by: beta17
8 Replies
6. Solaris
Version: Solaris 10 (August 2011) on VM
I am kind of new to Solaris.From VM workstation i allocated 35 GB to this Solaris VM's Disk
The disk was named
c1t0d0
Few basic slices for root(8gb), swap(517mb) and /export/home(494mb) were created by the solaris Installer during the... (18 Replies)
Discussion started by: polavan
18 Replies
7. Solaris
Hi All,,
I had installed my solaris 10 over VMware and allocated 100 GB space. yet wehen i am installing weblogic. it says "no space left on device"
when i run df -k :-
------
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c0d0s0 4864825 4779400 36777 ... (7 Replies)
Discussion started by: jain_sharad143
7 Replies
8. Fedora
Hi,
I run Fedora 17.
I created a physical volume of 30GB on a disk with 60GB of space so there is 30GB of free space. On the physical volume, I created my volume group and logical volumes. I assigned all the space in the physical volume to my volume group. I need to add the 30GB of free space... (1 Reply)
Discussion started by: mojoman
1 Replies
9. Linux
Hello all
posting here after scanning the net and tried most of the things offered
still no solution that worked
when I do :
$ df -h
Filesystem Size Used Avail Use% Mounted on
footmpfs 7.9G 60K 7.9G 1% /dev
tmpfs 7.9G 0 7.9G 0% /dev/shm
/dev/da1 ... (3 Replies)
Discussion started by: umen
3 Replies
10. UNIX for Beginners Questions & Answers
hi all,
while searching solution to an error, i found this forum and i have just joined the forum.
i am using Unix and getting the following error.
kindly help to resolve.
-bash: cannot create temp file for here-document: No space left on device
regards
Please use CODE tags (not... (9 Replies)
Discussion started by: kkm
9 Replies
LEARN ABOUT HPUX
diskinfo
diskinfo(1M) diskinfo(1M)
NAME
diskinfo - describe characteristics of a disk device
SYNOPSIS
character_devicefile
DESCRIPTION
The command determines whether the character special file named by character_devicefile is associated with a SCSI or floppy disk drive. If
so, summarizes the disk's characteristics.
The command displays information about the following characteristics of disk drives:
Vendor name Manufacturer of the drive (SCSI only)
Product ID Product identification number or ASCII name
Type Floppy or SCSI classification for the device
Disk Size of disk specified in bytes
Sector Specified as bytes per sector
Both the size of disk and bytes per sector represent formatted media.
Options
The command recognizes the following options:
Return the size of the disk in 1024-byte sectors.
Display a verbose summary of all of the information
available from the device. For floppy drives, this option has no effect.
SCSI disk devices return the following:
Vendor and product ID
Device type
Size (in bytes and in logical blocks)
Bytes per sector
Revision level
SCSI conformance level data
DIAGNOSTICS
Most of the diagnostic messages from are self-explanatory. However, one diagnostic message deserves further clarification. If the command
fails to access the lunpath corresponding to a given special file, it displays the following diagnostics data, which contains device iden-
tification and capability information:
device type 127 (unknown); device is inaccessible
iso ecma ansi rmb dtq resv rdf
WARNINGS
As of release 10.20 of HP-UX, certain IDE devices, CD-ROMs in particular, will respond to inquiries as if they were SCSI devices. There-
fore, the text "SCSI describe" in the output of the command does not definitively mean that the disk is in fact a SCSI drive (especially in
the case of CD-ROMs). Use to check which type of INTERFACE node, SCSI or IDE, the device's hardware path lies beneath, in order to defini-
tively determine a drive's interface.
DEPENDENCIES
General
The command supports floppy and HP SCSI disk devices.
SCSI Devices
The SCSI specification provides for a wide variety of device-dependent formats. For non-HP devices, may be unable to interpret all of the
data returned by the device. Refer to the drive operating manual accompanying the unit for more information.
AUTHOR
was developed by HP.
SEE ALSO
ioscan(1M), lsdev(1M), disktab(4), disk(7).
diskinfo(1M)