Try running format, select your disk, choose type -> auto configure
(normally option 0), then label the disk. You should get the correct
size then.
This is a discussion on resize LUN no file system yet - Solaris ; I have a Sol x86 box attached to NexSAN SATABoy via a switch. Mistakingly I have built a 500MB LUN instead of 500G LUN. I have resized it in SATABoy, but format still shows it as a 500MB disk device. ...
I have a Sol x86 box attached to NexSAN SATABoy via a switch.
Mistakingly I have built a 500MB LUN instead of 500G LUN. I have
resized it in SATABoy, but format still shows it as a 500MB disk
device.
I've tried devfsadm, but to no avail.. Any hints?
Thanks!
........
We run Oracle 9iR2,10gR1/2 on RH4/RH3
remove NSPAM to email
Try running format, select your disk, choose type -> auto configure
(normally option 0), then label the disk. You should get the correct
size then.
On 17 May 2006 14:09:46 -0700, "Stu"wrote:
>Try running format, select your disk, choose type -> auto configure
>(normally option 0), then label the disk. You should get the correct
>size then.
This is not working... any other suggestions?
# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c0t0d0
/pci@0,0/pci1022,7450@2/pci1000,3060@3/sd@0,0
1. c4t5000402300F4120Ad10128 sec 128>
/pci@1,0/pci1022,7450@2/pci10df,fc00@1/fp@0,0/disk@w5000402300f4120a,a
Specify disk (enter its number): 1
selecting c4t5000402300F4120Ad10
[disk formatted]
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
fdisk - run the fdisk program
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
!- execute , then return
quit
format> type
AVAILABLE DRIVE TYPES:
0. Auto configure
1. DEFAULT
2. NEXSAN-SATABoy-Bk41
3. other
Specify disk type (enter its number)[2]: 0
c4t5000402300F4120Ad10: configured with capacity of 456.00MB
selecting c4t5000402300F4120Ad10
[disk formatted]
format> label
Ready to label disk, continue? y
format> partition
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
!- execute , then return
quit
partition> print
Current partition table (original):
Total disk cylinders available: 57 + 2 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 root wm 1 - 4 32.00MB (4/0/0) 65536
1 swap wu 5 - 8 32.00MB (4/0/0) 65536
2 backup wu 0 - 58 472.00MB (59/0/0) 966656
3 unassigned wm 0 0 (0/0/0) 0
4 unassigned wm 0 0 (0/0/0) 0
5 unassigned wm 0 0 (0/0/0) 0
6 usr wm 9 - 56 384.00MB (48/0/0) 786432
7 unassigned wm 0 0 (0/0/0) 0
8 boot wu 0 - 0 8.00MB (1/0/0) 16384
9 alternates wm 0 0 (0/0/0) 0
........
We run Oracle 9iR2,10gR1/2 on RH4/RH3
remove NSPAM to email
In comp.unix.solaris Stuwrote:
> Try running format, select your disk, choose type -> auto configure
> (normally option 0), then label the disk. You should get the correct
> size then.
That should be sufficient for SPARC, but this is an x86 box. 'format'
isn't going to change the fdisk partition. I don't know if fdisk needs
to reset anything or if it can read the new geometry dynamically.
I'd start with fdisk, something like 'fdisk /dev/rdsk/c0t0d0p0'. It
should show what it thinks is the size of the disk in cylinders. If it
looks appropriate for your size, delete the existing solaris partition,
then create a new "full disk" solaris partition.
--
Darren Dunham ddunham@taos.com
Senior Technical Consultant TAOS http://www.taos.com/
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >