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