Okay I figured this out:
touch /reconfigure
shutdown -y -g0 -i6
format
I then saw:
bash sol root ~ 3 # format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c0d0 <DEFAULT cyl 24174 alt 2 hd 255 sec 63>
/p...@0,0/pci-...@12/i...@0/c...@0,0
1. c3d0 <DEFAULT cyl 60798 alt 2 hd 255 sec 63>
/p...@0,0/pci-...@12/i...@1/c...@0,0
Specify disk (enter its number): 1
selecting c3d0
Controller working list found
[disk formatted, defect list found]
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
show - translate a disk address
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
volname - set 8-character volume name
!<cmd> - execute <cmd>, then return
quit
format>
I did:
format> type
AVAILABLE DRIVE TYPES:
0. DEFAULT
1. DEFAULT
2. other
Specify disk type (enter its number)[1]:
selecting c3d0
Controller working list found
[disk formatted, defect list found]
format> part
part
Please run fdisk first.
format> fdisk
No fdisk table exists. The default partition for the disk is:
a 100% "SOLARIS System" partition
Type "y" to accept the default partition, otherwise type "n" to edit the
partition table.
y
format> part
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>
partition> prin
Current partition table (original):
Total disk cylinders available: 60797 + 2 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 unassigned wm 0 0 (0/0/0) 0
1 unassigned wm 0 0 (0/0/0) 0
2 backup wu 0 - 60797 465.74GB (60798/0/0) 976719870
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 unassigned wm 0 0 (0/0/0) 0
7 unassigned wm 0 0 (0/0/0) 0
8 boot wu 0 - 0 7.84MB (1/0/0) 16065
9 alternates wm 1 - 2 15.69MB (2/0/0) 32130
partition>
partition> q
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
show - translate a disk address
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
volname - set 8-character volume name
!<cmd> - execute <cmd>, then return
quit
format> label
Ready to label disk, continue? y
format> q
bash sol root ~ 7 # newfs c3d0s2
newfs: construct a new file system /dev/rdsk/c3d0s2: (y/n)? y
Warning: 1732 sector(s) in last cylinder unallocated
/dev/rdsk/c3d0s2: 976703804 sectors in 158969 cylinders of 48 tracks, 128
sectors
476906.2MB in 9936 cyl groups (16 c/g, 48.00MB/g, 5824 i/g)
super-block backups (for fsck -F ufs -o b=#) at:
32, 98464, 196896, 295328, 393760, 492192, 590624, 689056, 787488, 885920,
Initializing cylinder groups:
...............................................................................
...............................................................................
........................................
super-block backups for last 10 cylinder groups at:
975766304, 975864736, 975963168, 976061600, 976160032, 976258464, 976356896,
976455328, 976553760, 976652192
bash sol root ~ 8 #
bash sol root ~ 8 # ll /u2
/u2: No such file or directory
bash sol root ~ 9 # mkdir /u2
bash sol root ~ 10 # grep c3d0 /etc/vfstab
/dev/dsk/c3d0s2 /dev/rdsk/c3d0s2 /u2 ufs 2 yes -
bash sol root ~ 11 #
bash sol root ~ 11 # mount /u2
bash sol root ~ 12 #
bash sol root ~ 12 # df -h /u2
Filesystem size used avail capacity Mounted on
/dev/dsk/c3d0s2 459G 64M 454G 1% /u2
bash sol root ~ 13 #
bash sol root ~ 13 #
bash sol root ~ 13 #
bash sol root ~ 13 #
--
This message posted from opensolaris.org
_______________________________________________
sysadmin-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/sysadmin-discuss