- 论坛徽章:
- 0
|
newfs 建文件系统时候出错.
偶网上找到的,只做了第6步就可以了。。。
1.-on Infortrend you should set in:
Configuration parameters
->; Host-side Parameters
->; Host Cylinder/Head/Sector Mapping Configuration
->; Sector Ranges - Variable
->; Head Ranges - 64 Heads
->; Cylinder Ranges - < 32768 Cylinders
2.- modify /kernel/drv/sd.conf to
name="sd" class="scsi" target=0 lun=1;
(NO atapi there for SCSI!!)
3.- "boot -r" or "devfsadm"
4.- DESTROY actual label (old cylinder size) with:
$ dd if=/dev/zero of=/dev/rdsk/c1t0d0s2 bs=512 count=10
(do also with c1t0d1s2)
Please be VERY carfully, you can destroy your system if you write to the
system disk or any data disk!!
5.- Partition the disk using "format" and "label" them.
6.- NEWFS: it saying it can't proceed with default
parameters. But if you have big files so the 12KB per inode
is OK for you, you may state eg:
newfs -i 12000 -f 8192 /dev/dsk......
If you need more files you should change size of your luns.
If your luns are below about 500GB there should be no problems
with default parameters for newfs ... (in your case 4 luns 400GB each)
For 1 Terabyte use:
newfs -v -i 65536 -f 8192 /dev/rdsk/c1t1d0s0
7.- mount /dev/dsk/c1t0d0s0 /my_new_big_disk |
|