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 installation.
/dev/dsk/c1t0d0s0 is currently mounted on /. Please see umount(1M).
/dev/dsk/c1t0d0s1 is currently used by swap. Please see swap(1M).
/dev/dsk/c1t0d0s7 is currently mounted on /export/home. Please see umount(1M).
Now there is around 25 gb left unallocated in the underlying disk. Using format command, I wanted to create a new slice with 20gb, but i was getting
`20.00gb' is out of range
error. I tried 10g but it didn't work. 1GB worked though.
Is there any way i could determine how much space is left in the Disk after these slice creations ? I see lot of options in format command , but i couldn't find a command to determine how much space remain unallocated in a Disk device c1t0d0 .
Here is what i tried to do to create a new slice of 20 gb. In case you find anything wrong , please let me know
But I had allocated 35gb to this VM.
Going back to my original question : How to determine how much space is left in the Disk from format or any other command? Is it from the partition table that u realized that there is no space left ?
Thank you Foorza.
But I had allocated 35gb to this VM.
Going back to my original question : How to determine how much space is left in the Disk from format or any other command? Is it from the partition table that u realized that there is no space left ?
Thank you Foorza.
How did I know ? Well I assumed that you have performed a default install for Solaris.
To get information about the disk
If the disk is a supported disk, it usually says it's size in the "Product" field.
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)
Hi,
I would like to create the new file system(mount point) in our unix server.
before that i would like to know the total free space available in /home directory.
Can you please let me know, how to find free space available for new filesystem?
Be careful with your spelling and... (2 Replies)
Hi
I need to extend a FS in AIX but Im not sure on how to calculate the free space
Please advise if my math is correct:
-------PP SIZE: 64 megabyte(s)
--------TOTAL PPs: 1086 (69504 megabytes)
so the total size of volume is 64 * 1086 = 69504 MB (695GB)
Free PP is-- FREE... (4 Replies)
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)
Hello, I am trying to understand how to calculate actual disk space on a logical volume. Based on the output below, how would I convert the total and free PPs to MB and GB? Thank you.
# lsvg rootvg
VOLUME GROUP: rootvg VG IDENTIFIER: ... (4 Replies)
I everybody!!
How can i use statvfs() to calculate disk usage and free disk space??
Im using this code:
/* Any file on the filesystem in question */
char *filename = "/home/nesto/test/test.cpp";
struct statvfs buf;
if (!statvfs(filename, &buf)) {
... (1 Reply)
Hello,
Can someone please tell me which command to use to determine the available disk space on a given disk device?
I have to write a shell script that compresses files and stores them in a specific location but I am not sure how "conservative" I should be?
Thanks in advance!
Al. (4 Replies)
Hi,
I've tried to find answer to this question in the forums but i haven't found it.
How can i know the space left in my devices (tape, disk, floppy, etc...)?
It is very important to know at least the free space in the TAPE device.
Can someone help?
Thanx in advance.
Jorge (1 Reply)