unallocate space

hello,I want to allocate unallocated space to solaris partitions, but it is not visible.how can i do this?
[120 byte] By [thbaiga] at [2007-11-27 8:23:14]
# 1

I'm not sure what you mean by this.

If you mean, shrink a partition with a filesystem in it, then it can't be done short of backing up the filesystem, shrinking the partition, recreate the filesystem and restore the data.

If you just mean delete a slice in format.

Then just mark the start and end of the slice as 0.

robert.cohena at 2007-7-12 20:12:03 > top of Java-index,General,Sys Admin Best Practices...
# 2
I mean I have 80GB HDD 10GB is used by windows, 25 GB is used by solaris, remaining 35GB is unallocated not for windows and solaris. now I want to add this unallocated space to solaris how can I do this task.
thbaiga at 2007-7-12 20:12:03 > top of Java-index,General,Sys Admin Best Practices...
# 3
well one way is to run format.create a partition representing the space.Then run newfs to create a filesystem on it.Then edit /etc/vfstab to mount it.
robert.cohena at 2007-7-12 20:12:03 > top of Java-index,General,Sys Admin Best Practices...
# 4
'format' won't work because the space is not yet visible within the Solaris VTOC partition.You'd have to use 'fdisk' or a similar tool to enlarge the Solaris partition, then probably null the VTOC label to get format to recognize the increased size. -- Darren
Darren_Dunhama at 2007-7-12 20:12:03 > top of Java-index,General,Sys Admin Best Practices...