unused disk space


 
Thread Tools Search this Thread
Operating Systems Solaris unused disk space
# 8  
Old 09-11-2009
# format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
0. c0d0 <DEFAULT cyl 3260 alt 2 hd 255 sec 63>
/pci@0,0/pci-ide@7,1/ide@0/cmdk@0,0
Specify disk (enter its number): 0
selecting c0d0
Controller working list found
[disk formatted, defect list found]
Warning: Current Disk has mounted partitions.
/dev/dsk/c0d0s0 is currently mounted on /. Please see umount(1M).
/dev/dsk/c0d0s1 is currently used by swap. Please see swap(1M).
/dev/dsk/c0d0s3 is currently mounted on /u01. Please see umount(1M).
/dev/dsk/c0d0s7 is currently mounted on /export/home. Please see umount(1M).


partition> p
Current partition table (original):
Total disk cylinders available: 3260 + 2 (reserved cylinders)

Part Tag Flag Cylinders Size Blocks
0 root wm 733 - 1346 4.70GB (614/0/0) 9863910
1 swap wu 3 - 130 1004.06MB (128/0/0) 2056320
2 backup wm 0 - 3259 24.97GB (3260/0/0) 52371900
3 unassigned wm 1985 - 3259 9.77GB (1275/0/0) 20482875
4 unassigned wm 0 0 (0/0/0) 0
5 unassigned wm 0 0 (0/0/0) 0
6 unassigned wm 0 0 (0/0/0) 0
7 home wm 1347 - 1984 4.89GB (638/0/0) 10249470
8 boot wu 0 - 0 7.84MB (1/0/0) 16065
9 alternates wu 1 - 2 15.69MB (2/0/0) 32130

so i guess i use
2 backup wm 0 - 3259 24.97GB (3260/0/0) 52371900
thats the first one why i was ended in GRUb,

and when I reisntall i did this
newfs /dev/rdsk/c0t0d0s2,

i was totally wrong, anyway base from that i alloted 25G, i only use 21G,,
may i use my 4G???? where is it?? how to know i still have it?? how to USE it??? please help..
# 9  
Old 09-11-2009
Using slice 2 to create a filesystem on it is a destructive action that will corrupt all existing filesystems and swap file and will likely lead to a kernel panic or similar.

slice 2 is overlapping every other slices so should only be read from, never written to.

You should have used a free slice and allocated the free disk cylinders to it instead.
# 10  
Old 09-11-2009
yeah, i get it... ishould never use it or newfs there or partition there..


but how about my 4g? that i did not use??
# 11  
Old 09-12-2009
Set cylinder 4 to use these 496806912 bytes (or 604 cylinder) that are currently free.
# 12  
Old 09-13-2009
How?/

Anyway i want to see it in my eyes the available 4G???

wahts is the command can you show it to me pls..

and how to use it??
# 13  
Old 09-13-2009
Quote:
Originally Posted by kenshinhimura
How?/
By using the format or prtvtoc/fmthard commands.
Quote:
Anyway i want to see it in my eyes the available 4G???

wahts is the command can you show it to me pls..

and how to use it??
I calculated these values from this output. Everything is there:
- the number of cylinders available
- the number of cylinders used by each partition, eg. 614 for slice 0.
- the corresponding size in 512 bytes blocks, eg. 9863910 = 4931955 kB.

Cylinders 131 to 732 are free.
Code:
partition> p
Current partition table (original):
Total disk cylinders available: 3260 + 2 (reserved cylinders)

Part      Tag    Flag     Cylinders        Size            Blocks
  0       root    wm     733 - 1346        4.70GB    (614/0/0)   9863910
  1       swap    wu       3 -  130     1004.06MB    (128/0/0)   2056320
  2     backup    wm       0 - 3259       24.97GB    (3260/0/0) 52371900
  3 unassigned    wm    1985 - 3259        9.77GB    (1275/0/0) 20482875
  4 unassigned    wm       0               0         (0/0/0)           0
  5 unassigned    wm       0               0         (0/0/0)           0
  6 unassigned    wm       0               0         (0/0/0)           0
  7       home    wm    1347 - 1984        4.89GB    (638/0/0)  10249470
  8       boot    wu       0 -    0        7.84MB    (1/0/0)       16065
  9 alternates    wu       1 -    2       15.69MB    (2/0/0)       32130

# 14  
Old 09-15-2009
forgive my ignorance, i want to see all the commands i mean all the syntax..

anyway i still dont get it ,, my $g that i did not use in my installation.

i intend to set my partiton to 20g for i,can use the 4g soon..

---------- Post updated at 10:09 PM ---------- Previous update was at 10:09 PM ----------

# df -k
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c0d0s0 4856793 3413513 1394713 71% /
/devices 0 0 0 0% /devices
ctfs 0 0 0 0% /system/contract
proc 0 0 0 0% /proc
mnttab 0 0 0 0% /etc/mnttab
swap 2518984 736 2518248 1% /etc/svc/volatile
objfs 0 0 0 0% /system/object
sharefs 0 0 0 0% /etc/dfs/sharetab
/usr/lib/libc/libc_hwcap1.so.1
4856793 3413513 1394713 71% /lib/libc.so.1
fd 0 0 0 0% /dev/fd
swap 2518288 40 2518248 1% /tmp
swap 2518272 24 2518248 1% /var/run
/dev/dsk/c0d0s3 10085921 10025 9975037 1% /u01
/dev/dsk/c0d0s7 5046597 5030 4991102 1% /export/home
#

---------- Post updated at 10:14 PM ---------- Previous update was at 10:09 PM ----------

i just wanted to add another filesystem lets say /TEST

then i want to use my free 4g
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

disk space

Hi, I am new to shell scripting, and want to monitor disk space using shell script continously on server, which will shoot mail after crossing threshold limit Please suggest. Regards Manoj (1 Reply)
Discussion started by: manoj.solaris
1 Replies

2. Red Hat

disk space

when i check /export directory of my machine gets filled up (85%) i removed some old logs. but after cleaning df -k command still shows that /export is still 85% full. Is there a way to force df to reflect actual free space without rebooting? My machine is a production one and can't... (8 Replies)
Discussion started by: aboorkuma
8 Replies

3. HP-UX

HP-UX using unused HDD space

Hello, I have a system with HP-UX 11.23 installed on it. There are ~36GB of unused space on the HDD. I did a very basic installation, and it created the usual volume group /dev/vg00. When I look at the output of ioscan -funC disk, I see this (and more, but irrelevant to this post): disk ... (1 Reply)
Discussion started by: goon12
1 Replies

4. UNIX for Dummies Questions & Answers

How do I get the unused space?

One of my Solaris 8 machines hd was about to die. So I used g4u to create an image of the 9gb drive and I put it in a 36gb drive. That solved my dieing hd problem. But.... How do I get my machine to see the unused 27gb of space? Any help would be greatly appreciated. (1 Reply)
Discussion started by: Spyzic
1 Replies

5. HP-UX

Disk Space

Hi Experts. I had 100% disk full , even though i have removed 2 GB space still dbf command shows 100%. How to rectify that. Appreciate your prompt help. Thanks (1 Reply)
Discussion started by: test10002
1 Replies

6. Solaris

Disk space?

I'm a Unix newbie running Solaris 9. After installing a fresh copy on a 40GB drive I noticed the available disk space is 2% free or approximately 200MB available. Is that possible? Did I do something wrong? (4 Replies)
Discussion started by: jbarbuto
4 Replies

7. UNIX for Dummies Questions & Answers

available disk space on disk device???

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)
Discussion started by: alan
4 Replies

8. Filesystems, Disks and Memory

Disk Space -

I know I have posted this question before, but I still just don't understand how to determine disk space. This server is an IBM RS6000 running on AIX version 4.2.1. I in essence need to know the following if anyone can assist me. 1) I need to know how many drives are configured in the... (2 Replies)
Discussion started by: Docboyeee
2 Replies

9. Filesystems, Disks and Memory

Disk space

Can someone tell me how to determine how much disk space has been allocated to me and how much of it I am using? Thanks in advance. (1 Reply)
Discussion started by: jxh461
1 Replies

10. UNIX for Dummies Questions & Answers

Out of disk space?

Hi I'm trying to install gcc and the installation program tells me that I'm out of disk space! I have just installed the os (using the default settings for partitions and sizes) and have only installed apache on the machine. Can it really be out of disk space already? How do I check how much... (4 Replies)
Discussion started by: alfabetman
4 Replies
Login or Register to Ask a Question