hi im still use to dos6 fdisk tools and not Unix Fdisk Please help me
i not sure what to look for when making newfs i read everything here about format and partition print and modify http://docs.sun.com/app/docs/doc/817-5093/disksxadd-38159?l=en&q=format+fdisk&a=view This is as far as i got i deleted my NTFS partitions and created Solaris2 partitions Heres as far as i had gotten code: format AVAILABLE DISK SELECTIONS: 0. c0d0 <DEFAULT cyl 60797 alt 2 hd 255 sec 63> /pci at 0,0/pci-ide at f/ide at 0/cmdk at 0,0 1. c1d0 <DEFAULT cyl 30398 alt 2 hd 255 sec 63> /pci at 0,0/pci-ide at f/ide at 1/cmdk at 0,0 2. c2d0 <DEFAULT cyl 3646 alt 2 hd 255 sec 63> /pci at 0,0/pci-ide at f,1/ide at 0/cmdk at 0,0 3. c2d1 <drive type unknown> /pci at 0,0/pci-ide at f,1/ide at 0/cmdk at 1,0 i chose 0 as i want to make 0 and 1 available at this time On the format menu i chose verify Primary label contents: Volume name = < > ascii name = <DEFAULT cyl 60797 alt 2 hd 255 sec 63> pcyl = 60799 ncyl = 60797 acyl = 2 bcyl = 0 nhead = 255 nsect = 63 Part Tag Flag Cylinders Size Blocks 0 root wm 3 - 60574 464.01GB (60572/0/0) 973089180 1 swap wu 60575 - 60607 258.86MB (33/0/0) 530145 2 backup wm 0 - 60796 465.73GB (60797/0/0) 976703805 3 unassigned wm 60608 - 60609 15.69MB (2/0/0) 32130 4 unassigned wm 60610 - 60610 7.84MB (1/0/0) 16065 5 unassigned wm 60611 - 60611 7.84MB (1/0/0) 16065 6 unassigned wm 60612 - 60795 1.41GB (184/0/0) 2955960 7 home wm 60796 - 60796 7.84MB (1/0/0) 16065 8 boot wu 0 - 0 7.84MB (1/0/0) 16065 9 alternates wu 1 - 2 15.69MB (2/0/0) 32130 format> So where is my slice im awfully confused do i use a number or a letter? i am use to mounting numbers like /dev/rdsk/c0d0p1 (since this was a raid changed to IDE) Please help me how do i create a newfs this is what happens when i try newfs /dev/rdsk/c0d0p1 # newfs /dev/rdsk/c0d0p1 newfs: construct a new file system /dev/rdsk/c0d0p1: (y/n)? y Can not determine partition size: Invalid argument i was told not to use the drive but to use a slice but what exact format do i type i dont realy see a good example on that site that i read through for it all. example newfs /dev/rdsk/(what do i type here if not my drive c0d0p1) Thank You il show you step by step what i did when i modify my drive i typed format i chose 0 Then i type partition Then i type Modify Select partitioning base: 0. Current partition table (original) 1. All Free Hog Choose base (enter number) [0]? i choose 1 like it says in manual Do you wish to continue creating a new partition table based on above table[yes]? yes Free Hog partition[6]? (i hit enter) Enter size of partition '0' [0b, 0c, 0.00mb, 0.00gb]: (since my driev there is 465.73 gb i chose enough for the root and some for the swap) So i chose 464.5gb for Root Enter size of partition '0' [0b, 0c, 0.00mb, 0.00gb]: 464.9gb Enter size of partition '1' [0b, 0c, 0.00mb, 0.00gb]: 1gb `1.00gb' is out of range Enter size of partition '1' [0b, 0c, 0.00mb, 0.00gb]: 900m `900.00mb' is out of range Enter size of partition '1' [0b, 0c, 0.00mb, 0.00gb]: 800m Enter size of partition '3' [0b, 0c, 0.00mb, 0.00gb]: 100m `100.00mb' is out of range Enter size of partition '3' [0b, 0c, 0.00mb, 0.00gb]: 50m `50.00mb' is out of range Enter size of partition '3' [0b, 0c, 0.00mb, 0.00gb]: 25m `25.00mb' is out of range Enter size of partition '3' [0b, 0c, 0.00mb, 0.00gb]: 10m Enter size of partition '4' [0b, 0c, 0.00mb, 0.00gb]: 1m Warning: no space available for '5' from Free Hog partition Warning: no space available for '7' from Free Hog partition Part Tag Flag Cylinders Size Blocks 0 root wm 3 - 60691 464.90GB (60689/0/0) 974968785 1 swap wu 60692 - 60793 800.11MB (102/0/0) 1638630 2 backup wu 0 - 60796 465.73GB (60797/0/0) 976703805 3 unassigned wm 60794 - 60795 15.69MB (2/0/0) 32130 4 unassigned wm 60796 - 60796 7.84MB (1/0/0) 16065 5 unassigned wm 0 0 (0/0/0) 0 6 usr 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 Okay to make this the current partition table[yes]? Enter table name (remember quotes):"test" Ready to label disk, continue? yes partition> So where do i go from here Please :) What Slice what exact format do i type if my drive there is /dev/rdsk/c0d0p1 Thank You This message posted from opensolaris.org
