Unable to understand disk layout and where are the free space


 
Thread Tools Search this Thread
Operating Systems Solaris Unable to understand disk layout and where are the free space
# 1  
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..
# 2  
Old 09-09-2009
please don't use QUOTE tags for code... just use the CODE (# in editor) tags!

for your question:
your disk has an EFI disk label. you can change the label by running "format -e" and choose "label" and then the "SMI" label.
# 3  
Old 09-09-2009
provide 2 outputs,
format -> p -> p
and
df -h
# 4  
Old 09-09-2009
Quote:
Originally Posted by incredible
provide 2 outputs,
format -> p -> p
and
df -h
why? and the "format -> p -> p" is already in his first post...
# 5  
Old 09-09-2009
Quote:
Originally Posted by DukeNuke2
why? and the "format -> p -> p" is already in his first post...
I see, because of the missing code tag, I couldn't read. Got it now

---------- Post updated at 05:17 PM ---------- Previous update was at 05:15 PM ----------

something is not right, which disk was selected before you used the prtvtoc table? 0 or 1 ? Unlikely that it is 0, the first disk right?
# 6  
Old 09-09-2009
Thanks Duek!

When I am trying to label the disk I am getting the below error

Code:
partition> label
  Unable to get current partition map.
  Cannot label disk when partitions are in use as described.



Not sure if I have followed your instructions! Executed the format -e option and select the disk 0 then I tried labeling. Is that what you mean or I am doing it wrongly.
# 7  
Old 09-09-2009
you can't relabel a disk that is in use...
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

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

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

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

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

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

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

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

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

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

10. 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
Login or Register to Ask a Question