Trouble with slave disk

I get the following as partition for a disk I added as slave.

partition> print

Current partition table (original):

Total disk cylinders available: 17660 + 2 (reserved cylinders)

PartTagFlagCylinders SizeBlocks

0 unassignedwm0 - 176598.49GB(17660/0/0) 17801280

1 unassignedwm00 (0/0/0)0

2backupwu0 - 176598.49GB(17660/0/0) 17801280

3 unassignedwm00 (0/0/0)0

4 unassignedwm00 (0/0/0)0

5 unassignedwm00 (0/0/0)0

6 unassignedwm00 (0/0/0)0

7 unassignedwm00 (0/0/0)0

and this error when I try to fdisk the same disk.

bash-3.00# fdisk /dev/rdsk/c0t1d0s0

fdisk: Cannot open device /dev/rdsk/c0t1d0s0.

please help.

SunOS hobbit 5.11 snv_67 sun4u sparc SUNW,Ultra-5_10

[777 byte] By [anil.samuela] at [2007-11-27 10:35:45]
# 1

mhhhh, silly question: you're running solaris on an ultra-machine (sparc), and not on a x86-PC, right ?

if yes, why U're using fdisk ? it's only for OS's on x86-hardware necessary.

after creating your slices (partitions), you'll "only" have to construct the filesystem with newfs.

in your case, it would/could be < newfs /dev/rdsk/c0t1d0s0 >

for a first try, without changing the filesystem use the options N (test) and v (verbose). e.g. newfs -NV /dev/rdsk.....

man newfs or mkfs offer more informations. ;-)

hth, jenny

************************

the sweater of a woman fits perfect,

when the men gasp for air. ;-)

[edith says:]

oops, sorry. :-(

newfs -Nv ...... - verbose with small character.

[edith is silent]

Message was edited by:

Jenny_S, 07/14/07, 09:05 PM local time

Jenny_Sa at 2007-7-28 18:36:54 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 2

Thanks Jenny this is what I get with newfs.

bash-3.00# newfs /dev/rdsk/c0t1d0s0

/dev/rdsk/c0t1d0s0: I/O error

bash-3.00# newfs /dev/dsk/c0t1d0s0

/dev/rdsk/c0t1d0s0: I/O error

anil.samuela at 2007-7-28 18:36:54 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 3

Have you created the partitions on the disk?

run 'format', select your disk (1 for c0t1d0?) then p (for partition) then p (for print).

Check what is allocated for slice 0 (s0). Create the partition if needed. Then you can. Don't forget to label the disk. Then exit and run newfs.

Stuart_Flishera at 2007-7-28 18:36:54 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 4

This been long since fixed; forgot to update the post.

I used label from format prompt then newfs command picked the partition. dont remember the exact command sequence.

Later initialized zfs and added this new partition to it.

anil.samuela at 2007-7-28 18:36:54 > top of Java-index,Solaris Operating System,Solaris 10 Features...