Hello, 

After some digging around i found an article about adding [b]-T[/b] to the 
newfs command. So i tried with: [b]newfs -v -T /dev/rdsk/c0t0d0s0[/b]
And voila, my 40Gb disk now have a new filesystem within 4min, the same command 
took me 13hours last night. No errors on my iSCSI Unit what so ever.
Is there a setting somewhere that i should apply in a iscsi.conf file? 

According to the man pages my new inode size is [b]1048576[/b] instead of the 
default [b]8192[/b]. Does anyone know what this means. When i try to create an 
empty file using a small C-script i once again receive lot's and lot's of 
errors.

Running an empty newfs command with -Nv shows this:

[EMAIL PROTECTED] /]# newfs -Nv /dev/rdsk/c6t1d0s6
mkfs -F ufs -o N /dev/rdsk/c6t1d0s6 83886080 -1 -1 8192 1024 220 1 120 8192 t 0 
-1 8 128 n
[b]mkfs: bad value for nbpi: must be at least 1048576 for multi-terabyte, nbpi 
reset to default 1048576[/b]
Warning: 4096 sector(s) in last cylinder unallocated
/dev/rdsk/c6t1d0s6:     83886080 sectors in 13654 cylinders of 48 tracks, 128 
sectors
        40960.0MB in 854 cyl groups (16 c/g, 48.00MB/g, 64 i/g)
super-block backups (for fsck -F ufs -o b=#) at:
 98464, 196896, 295328, 393760, 492192, 590624, 689056, 787488, 885920,
Initializing cylinder groups:
................
super-block backups for last 10 cylinder groups at:
 82970144, 83068576, 83167008, 83265440, 83363872, 83462304, 83560736,
 83659168, 83757600, 83856032


Regards,

Pierre

[b]Output Dtrace script:[/b]

 1   1447   iscsi_conn_state_machine:event 30002fbf240 free T1
  3   1447   iscsi_conn_state_machine:event 30002fbf240 in_login T5
  3   1448   iscsi_sess_state_machine:event 30006f42000 free N1
  3   1447   iscsi_conn_state_machine:event 30002fbf240 logged_in T9
  3   1447   iscsi_conn_state_machine:event 30002fbf240 in_logout T17
  3   1448   iscsi_sess_state_machine:event 30006f42000 logged_in N3
  1   1448   iscsi_sess_state_machine:event 30006ee6000 logged_in N1
  3   1448   iscsi_sess_state_machine:event 30006ee6000 logged_in N1



[EMAIL PROTECTED] /]# [b]date; time newfs -v -T /dev/rdsk/c6t1d0s6 ;date[/b]
Tue Feb 20 12:45:13 MET 2007
newfs: /dev/rdsk/c6t1d0s6 last mounted as /reo-data
newfs: construct a new file system /dev/rdsk/c6t1d0s6: (y/n)? yes
mkfs -F ufs /dev/rdsk/c6t1d0s6 83886080 256 128 8192 8192 -1 1 120 1048576 t 0 
-1 8 128 y
/dev/rdsk/c6t1d0s6:     83886080 sectors in 2560 cylinders of 128 tracks, 256 
sectors
        40960.0MB in 92 cyl groups (28 c/g, 448.00MB/g, 448 i/g)
super-block backups (for fsck -F ufs -o b=#) at:
 32, 917792, 1835552, 2753312, 3671072, 4588832, 5506592, 6424352, 7342112,
 8259872,
 75256352, 76174112, 77091872, 78009632, 78927392, 79845152, 80762912,
 81680672, 82598432, 83516192

real    3m32.333s
user    0m1.884s
sys     0m0.752s
Tue Feb 20 12:48:45 MET 2007
 
 
This message posted from opensolaris.org
_______________________________________________
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss

Reply via email to