Sponsored Content
Operating Systems Solaris Unable to understand disk layout and where are the free space Post 302351582 by kumarmani on Wednesday 9th of September 2009 04:39:29 AM
Old 09-09-2009
Unable to understand disk layout and where are the free space

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 slice 7.

Please find the output from format
Code:
#echo |format

Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c0t0d0 <SEAGATE-ST373307LSUN72G-0507-68.37GB>
          /pci@1c,600000/scsi@2/sd@0,0
       1. c0t1d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
          /pci@1c,600000/scsi@2/sd@1,0
Specify disk (enter its number):


Code:
partition> p
Current partition table (original):
Total disk sectors available: 143358320 + 16384 (reserved sectors)

Part      Tag    Flag     First Sector         Size         Last Sector
  0 unassigned    wm                 0           0               0
  1 unassigned    wm                 0           0               0
  2 unassigned    wm                 0           0               0
  3 unassigned    wm                 0           0               0
  4 unassigned    wm                 0           0               0
  5        usr    wm                34        1.00GB          2097185
  6 unassigned    wm                 0           0               0
  8   reserved    wm         143358321        8.00MB          143374704

From prtvtoc

Code:
bash-3.00# prtvtoc /dev/dsk/c0t0d0s2
* /dev/dsk/c0t0d0s2 partition map
*
* Dimensions:
*     512 bytes/sector
* 143374738 sectors
* 143374671 accessible sectors
*
* Flags:
*   1: unmountable
*  10: read-only
*
* Unallocated space:
*       First     Sector    Last
*       Sector     Count    Sector
*     2097186 141261135 143358320
*
*                          First     Sector    Last
* Partition  Tag  Flags    Sector     Count    Sector  Mount Directory
       5      4    00         34   2097152   2097185
       8     11    00  143358321     16384 143374704

Please help!

Thanking in anticipation

Last edited by kumarmani; 09-09-2009 at 05:51 AM..
 

10 More Discussions You Might Find Interesting

1. Programming

free disk space calc

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)
Discussion started by: ninjanesto
1 Replies

2. AIX

AIX Free disk space

Hello, I would like to free some space to install gcc with is about 50M large, and I have no free space on my system. What can I delete? Filesystem 1024-blocks Used Free %Used Iused Ifree %Iused Mounted on /dev/hd4 262144 145436 116708 56% 7981 ... (10 Replies)
Discussion started by: aixn00b
10 Replies

3. Solaris

command to get the total disk space (available + free)

is there a command to get the total disk space (available + free) on the solaris server ? thanks (3 Replies)
Discussion started by: sudhiroracle
3 Replies

4. Solaris

Disk free space planning for Sol 10 LU

I'm getting ready to start a LU from Sol 9 to Solaris 10. I want to ensure that I have enough disk space for future upgrades. What I don't know is what free space Solaris requires. If I have 10GB of free space in /opt, will Solaris 10 use that for a LU? Or, do I need to allocate 10GB of space... (5 Replies)
Discussion started by: zeekstern
5 Replies

5. Shell Programming and Scripting

Free space at disk

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)
Discussion started by: koti_rama
2 Replies

6. Red Hat

Unable to free space due to inode in use by database

Hi, I am having similar issue showing filesystem 100% even after deleting the files. I understood the issue after going through this chain. But i can not restart the processes being oracle database. Is there way like mounting filesytem with specific options would avoid happening this issue. How... (0 Replies)
Discussion started by: prashant185
0 Replies

7. Solaris

Determine free space in a Disk device

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

8. AIX

cannot understand my disk layout

my users has requested more space to a particular volume group, so i do a lsvg honda:/tmp/ab/ecc # lsvg rootvg OP24BCKVG OP24ORAvg OP24SYSVG OP24DATVG the user wants to know what disks are available to be added to any of the vgs listed above, (not including rootvg) so i do a lspv... (2 Replies)
Discussion started by: asyed123
2 Replies

9. Shell Programming and Scripting

I need help!! disk free space script

i want to write a shell script,when disk uses is 90% then automatically send a email to distribution list (group member)...... (1 Reply)
Discussion started by: sonu pandey
1 Replies

10. Solaris

Check free disk space in server

Hi, I need about 500G space in one corporate solaris server. However, I am not sure which command to use to check this. There are few volume groups in the server, and I deleted unused, old volume groups to clear some space. However, now I am not sure how to check the free space itself. ... (2 Replies)
Discussion started by: anaigini45
2 Replies
bdf(1M) 																   bdf(1M)

NAME
bdf - report number of free disk blocks (Berkeley version) SYNOPSIS
type [filesystem|file] ... ] DESCRIPTION
The command displays the amount of free disk space available either on the specified filesystem for example) or on the file system in which the specified file (such as is contained. If no file system is specified, the free space on all of the normally mounted file systems is printed. The reported numbers are in kilobytes. Options The command recognizes the following options: Display information regarding file system swapping. Report the number of used and free inodes. Display information for local file systems only (for example, HFS and CDFS file systems). Do not sync the file system data on the disk before reporting the usage. Note that the data reported by may not be up to date. Report on the file systems of a given type (for example, or RETURN VALUE
The command returns 0 on success (able to get status on all file systems), or returns 1 on failure (unable to get status on one or more file systems). WARNINGS
If file system names are too long, the output for a given entry is displayed on two lines. The command does not account for any disk space reserved for swap space, or used for the HFS boot block (8 KB, 1 per file system), HFS superblocks (8 KB each, 1 per disk cylinder), HFS cylinder group blocks (1 KB - 8 KB each, 1 per cylinder group), and inodes (currently 128 bytes reserved for each inode). Non-HFS file systems may have other items not accounted for by this command. AUTHOR
was developed by the University of California, Berkeley. FILES
Static information about the file systems. Mounted file system table. File system devices. SEE ALSO
df(1M), fstab(4), mnttab(4). bdf(1M)
All times are GMT -4. The time now is 10:02 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy