how to increase fs

hi,
i installed solaris 9 on my v240 server on 36gb disk. here are the ouputs of the df -h command:
# df -h
Filesystem size used avail capacity Mounted on
/dev/dsk/c1t0d0s0 9.6G 3.4G 6.1G 36% /
/proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
fd 0K 0K 0K 0% /dev/fd
swap 2.3G 40K 2.3G 1% /var/run
swap 2.3G 0K 2.3G 0% /tmp
/dev/dsk/c1t0d0s3 200M 183M 0K 100% /globalfs
#

anyone show me how to expand the /globalfs to 2gb.

thanks so much.

xuxi

not possible.

if yur using volume manager you can increase your filesystem on the fly but from the looks of it you are using pure block device.

It depends on what your disk partitions look like...
You might be able to use growfs..

Post your format output, showing your partition table.

oh I didn't think of growfs, sure it might work together with SDS,

and yes thats provided you still got 1 free unused partition slice on your existing disk.

thank you. here are output of the format command:

# format
Searching for disks...done

AVAILABLE DISK SELECTIONS:
0. c1t0d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107> os
/pci@1c,600000/scsi@2/sd@0,0
1. c1t1d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107> database
/pci@1c,600000/scsi@2/sd@1,0
Specify disk (enter its number): 0
selecting c1t0d0: os
[disk formatted]
Warning: Current Disk has mounted partitions.

FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
repair - repair a defective sector
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
save - save new disk/partition definitions
inquiry - show vendor, product and revision
volname - set 8-character volume name
!<cmd> - execute <cmd>, then return
quit
format> p

PARTITION MENU:
0 - change `0' partition
1 - change `1' partition
2 - change `2' partition
3 - change `3' partition
4 - change `4' partition
5 - change `5' partition
6 - change `6' partition
7 - change `7' partition
select - select a predefined table
modify - modify a predefined partition table
name - name the current table
print - display the current table
label - write partition map and label to the disk
!<cmd> - execute <cmd>, then return
quit
partition> p
Volume: os
Current partition table (original):
Total disk cylinders available: 24620 + 2 (reserved cylinders)

Part Tag Flag Cylinders Size Blocks
0 root wm 17531 - 24619 9.77GB (7089/0/0) 20480121
1 swap wu 0 - 1088 1.50GB (1089/0/0) 3146121
2 backup wm 0 - 24619 33.92GB (24620/0/0) 71127180
3 unassigned wm 1160 - 1301 200.31MB (142/0/0) 410238
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 unassigned wm 1089 - 1159 100.16MB (71/0/0) 205119

partition>

seems from yur disk c1t0d0 you have a lot of unused cyl from 1302 to 17530

I assume your other disk c1t1d0 is the disk which has 2GB unused space that you intend to use to grow /globalfs to 2GB

can you paste the format output of c1t1d0 also just to be sure.

Preparation.
The first part is basically you will need 1 unused partitions of 10mb each on both disks(c1t0 and c1t1) as your metadb.

Then you need to convert existing c1t0d0s3 /globalfs into a metadevice.
Then configure another partition on c1t1d0s? with 2GB and make it into part of the same metadevice also.

Please paste the format output of c1t1d0 partitions just to be sure.

thank you, sparcguy,
following your advice, my file system was increased to 2gb.
it's great.

thank you very much again

xuxi