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
# 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
# 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
# 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.