Abel's First Christmas
11 years ago
filer>options ndmpd.enable on
filer>ndmpd on
filer>vol create vol0_trad -t raid4 5
Tue Jul 8 20:33:25 GMT [raid.vol.disk.add.done:notice]: Addition of Disk /vol0_trad/plex0/rg0/0d.4 Shelf 0 Bay 4 [SEAGATE ST3500630NSAH AQMZ] S/N [9QG7A9J2] t
o volume vol0_trad has completed successfully
Tue Jul 8 20:33:25 GMT [raid.vol.disk.add.done:notice]: Addition of Disk /vol0_trad/plex0/rg0/0d.0 Shelf 0 Bay 3 [SEAGATE ST3500630NSAH AQMZ] S/N [9QG7KTSY] t
o volume vol0_trad has completed successfully
Tue Jul 8 20:33:25 GMT [raid.vol.disk.add.done:notice]: Addition of Disk /vol0_trad/plex0/rg0/0d.3 Shelf 0 Bay 2 [SEAGATE ST3500630NSAH AQMZ] S/N [9QG7LHPR] t
o volume vol0_trad has completed successfully
Tue Jul 8 20:33:25 GMT [raid.vol.disk.add.done:notice]: Addition of Disk /vol0_trad/plex0/rg0/0c.6 Shelf 0 Bay 7 [SEAGATE ST3500630NSAH AQMZ] S/N [9QG7C91R] t
o volume vol0_trad has completed successfully
Tue Jul 8 20:33:25 GMT [raid.vol.disk.add.done:notice]: Addition of Disk /vol0_trad/plex0/rg0/0d.1 Shelf 0 Bay 1 [SEAGATE ST3500630NSAH AQMZ] S/N [9QG7LHVF] t
o volume vol0_trad has completed successfully
Creation of a volume with 5 disks has completed.
perfdevsrv015> Tue Jul 8 20:33:26 GMT [wafl.vol.add:notice]: Volume vol0_trad has been added to the system.
ndmpcopy -f /vol/vol0 /vol/vol0_trad
Ndmpcopy: Starting copy [ 0 ] ...
Ndmpcopy: perfdevsrv015: Notify: Connection established
Ndmpcopy: perfdevsrv015: Notify: Connection established
Ndmpcopy: perfdevsrv015: Connect: Authentication successful
Ndmpcopy: perfdevsrv015: Connect: Authentication successful
Ndmpcopy: perfdevsrv015: Log: DUMP: creating "/vol/vol0/../snapshot_for_backup.0" snapshot.
Ndmpcopy: perfdevsrv015: Log: DUMP: Using Full Volume Dump
Ndmpcopy: perfdevsrv015: Log: DUMP: Date of this level 0 dump: Tue Jul 8 20:35:51 2008.
Ndmpcopy: perfdevsrv015: Log: DUMP: Date of last level 0 dump: the epoch.
Ndmpcopy: perfdevsrv015: Log: DUMP: Dumping /vol/vol0 to NDMP connection
Ndmpcopy: perfdevsrv015: Log: DUMP: mapping (Pass I)[regular files]
Ndmpcopy: perfdevsrv015: Log: DUMP: mapping (Pass II)[directories]
Tue Jul 8 20:36:21 GMT [asup.post.badUrl:warning]: Autosupport was not posted because there was an invalid or missing url specified (REBOOT)
Ndmpcopy: perfdevsrv015: Log: DUMP: estimated 235187 KB.
Ndmpcopy: perfdevsrv015: Log: DUMP: dumping (Pass III) [directories]
Ndmpcopy: perfdevsrv015: Log: RESTORE: Tue Jul 8 20:36:40 2008: Begin level 0 restore
Ndmpcopy: perfdevsrv015: Log: RESTORE: Tue Jul 8 20:36:40 2008: Reading directories from the backup
Ndmpcopy: perfdevsrv015: Log: DUMP: dumping (Pass IV) [regular files]
Ndmpcopy: perfdevsrv015: Log: RESTORE: Tue Jul 8 20:36:49 2008: Creating files and directories.
Ndmpcopy: perfdevsrv015: Log: RESTORE: Tue Jul 8 20:36:54 2008: Writing data to files.
Ndmpcopy: perfdevsrv015: Log: RESTORE: Tue Jul 8 20:37:30 2008: Restoring NT ACLs.
Ndmpcopy: perfdevsrv015: Log: DUMP: dumping (Pass V) [ACLs]
Ndmpcopy: perfdevsrv015: Log: DUMP: 238893 KB
Ndmpcopy: perfdevsrv015: Log: RESTORE: RESTORE IS DONE
Ndmpcopy: perfdevsrv015: Log: DUMP: DUMP IS DONE
Ndmpcopy: perfdevsrv015: Log: RESTORE: The destination path is /vol/vol0_trad/
Ndmpcopy: perfdevsrv015: Notify: restore successful
Ndmpcopy: perfdevsrv015: Log: DUMP: Deleting "/vol/vol0/../snapshot_for_backup.0" snapshot.
Ndmpcopy: perfdevsrv015: Notify: dump successful
Ndmpcopy: Transfer successful [ 1 minutes 44 seconds ]
Ndmpcopy: Done
vol options vol0_trad root
Volume 'vol0_trad' will become root at the next boot.
filer>reboot
filer>vol rename vol0 vol0_flex
filer> vol offline vol0_flex
Tue Jul 8 20:46:01 GMT [wafl.vvol.offline:info]: Volume 'vol0_flex' has been set temporarily offline
Volume 'vol0_flex' is now offline.
filer> vol destroy vol0_flex
Are you sure you want to destroy this volume? y
Volume 'vol0_flex' destroyed.
filer> aggr offline aggr0
Aggregate 'aggr0' is now offline.
filer> aggr destroy aggr0
Are you sure you want to destroy this aggregate? y
Tue Jul 8 20:46:36 GMT [raid.config.vol.destroyed:info]: Aggregate 'aggr0' destroyed.
Aggregate 'aggr0' destroyed.
filer> vol add vol0 2
WARNING! Continuing with vol add will result in having
no spare disk available for one or more RAID groups.
Are you sure you want to continue with vol add? y
Addition of 2 disks to the volume has been initiated. The disks need
to be zeroed before addition to the volume. The process has been initiated
and you will be notified via the system log as disks are added.
bash-3.00$ head iscsi_080626.txt
32782319.86
32793022.93
32734064.23
32719233.74
32652552.75
32815570.70
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
bash-3.00$ head idle.out.txt
248.722142
17.662915
17.195024
16.208969
15.856432
17.064519
16.874948
17.122956
17.191305
16.920703
bash-3.00$ pr -m -t iscsi_080626.txt greads.out.txt idle.out.txt > iscsi_greads_idle.txt
bash-3.00$ head iscsi_greads_idle.txt
32782319.86 0.00 248.722142
32793022.93 0.00 17.662915
32734064.23 0.00 17.195024
32719233.74 0.00 16.208969
32652552.75 0.00 15.856432
32815570.70 0.00 17.064519
32801494.63 0.00 16.874948
32696942.10 0.00 17.122956
32715608.64 0.00 17.191305
32835538.38 0.00 16.920703
disk replace start 0b.19 0c.00.0
Volume vol1 (online, raid_dp) (block checksums)
Plex /vol1/plex0 (online, normal, active)
RAID group /vol1/plex0/rg0 (normal)
RAID Disk Device HA SHELF BAY CHAN Pool Type RPM Used (MB/blks) Phys (MB/blks)
--------- ------ ------------- ---- ---- ---- ----- -------------- --------------
dparity 0c.00.6 0c 0 6 SA:1 - SATA 7200 211377/432901760 211977/434130816
parity 0c.00.1 0c 0 1 SA:1 - SATA 7200 211377/432901760 211977/434130816
data 0b.19 0b 1 3 FC:B - ATA 7200 211377/432901760 211921/434014304
data 0c.00.3 0c 0 3 SA:1 - SATA 7200 211377/432901760 211977/434130816
data 0c.00.11 0c 0 11 SA:1 - SATA 7200 211377/432901760 211977/434130816
data 0c.00.10 0c 0 10 SA:1 - SATA 7200 211377/432901760 211977/434130816
data 0c.00.9 0c 0 9 SA:1 - SATA 7200 211377/432901760 211977/434130816
data 0c.00.8 0c 0 8 SA:1 - SATA 7200 211377/432901760 211977/434130816
data 0c.00.7 0c 0 7 SA:1 - SATA 7200 211377/432901760 211977/434130816
data 0c.00.4 0c 0 4 SA:1 - SATA 7200 211377/432901760 211977/434130816
data 0b.29 0b 1 13 FC:B - ATA 7200 211377/432901760 211921/434014304
data 0c.00.5 0c 0 5 SA:1 - SATA 7200 211377/432901760 211977/434130816
Spare disks
RAID Disk Device HA SHELF BAY CHAN Pool Type RPM Used (MB/blks) Phys (MB/blks)
--------- ------ ------------- ---- ---- ---- ----- -------------- --------------
Spare disks for block or zoned checksum traditional volumes or aggregates
spare 0a.16 0a 1 0 FC:A - ATA 7200 211377/432901760 211921/434014304 (not zeroed)
spare 0a.20 0a 1 4 FC:A - ATA 7200 211377/432901760 211921/434014304
spare 0a.22 0a 1 6 FC:A - ATA 7200 211377/432901760 211921/434014304
spare 0a.24 0a 1 8 FC:A - ATA 7200 211377/432901760 211921/434014304
spare 0a.26 0a 1 10 FC:A - ATA 7200 211377/432901760 211921/434014304
spare 0b.17 0b 1 1 FC:B - ATA 7200 211377/432901760 211921/434014304 (not zeroed)
spare 0b.25 0b 1 9 FC:B - ATA 7200 211377/432901760 211921/434014304
spare 0b.27 0b 1 11 FC:B - ATA 7200 211377/432901760 211921/434014304
spare 0c.00.0 0c 0 0 SA:1 - SATA 7200 211377/432901760 211977/434130816 (not zeroed)
disk replace start 0b.19 0c.00.0
*** You are about to copy and replace the following file system disk ***
Disk /vol1/plex0/rg0/0b.19
RAID Disk Device HA SHELF BAY CHAN Pool Type RPM Used (MB/blks) Phys (MB/blks)
--------- ------ ------------- ---- ---- ---- ----- -------------- --------------
data 0b.19 0b 1 3 FC:B - ATA 7200 211377/432901760 211921/434014304
***
Really replace disk 0b.19 with 0c.00.0? y
disk replace: Disk 0b.19 was marked for replacing.
Volume vol1 (online, raid_dp) (block checksums)
Plex /vol1/plex0 (online, normal, active)
RAID group /vol1/plex0/rg0 (normal)
RAID Disk Device HA SHELF BAY CHAN Pool Type RPM Used (MB/blks) Phys (MB/blks)
--------- ------ ------------- ---- ---- ---- ----- -------------- --------------
dparity 0c.00.6 0c 0 6 SA:1 - SATA 7200 211377/432901760 211977/434130816
parity 0c.00.1 0c 0 1 SA:1 - SATA 7200 211377/432901760 211977/434130816
data 0b.19 0b 1 3 FC:B - ATA 7200 211377/432901760 211921/434014304 (replacing)
data 0c.00.3 0c 0 3 SA:1 - SATA 7200 211377/432901760 211977/434130816
data 0c.00.11 0c 0 11 SA:1 - SATA 7200 211377/432901760 211977/434130816
data 0c.00.10 0c 0 10 SA:1 - SATA 7200 211377/432901760 211977/434130816
data 0c.00.9 0c 0 9 SA:1 - SATA 7200 211377/432901760 211977/434130816
data 0c.00.8 0c 0 8 SA:1 - SATA 7200 211377/432901760 211977/434130816
data 0c.00.7 0c 0 7 SA:1 - SATA 7200 211377/432901760 211977/434130816
data 0c.00.4 0c 0 4 SA:1 - SATA 7200 211377/432901760 211977/434130816
data 0b.29 0b 1 13 FC:B - ATA 7200 211377/432901760 211921/434014304
data 0c.00.5 0c 0 5 SA:1 - SATA 7200 211377/432901760 211977/434130816
Volume vol1 (online, raid_dp) (block checksums)
Plex /vol1/plex0 (online, normal, active)
RAID group /vol1/plex0/rg0 (normal)
RAID Disk Device HA SHELF BAY CHAN Pool Type RPM Used (MB/blks) Phys (MB/blks)
--------- ------ ------------- ---- ---- ---- ----- -------------- --------------
dparity 0c.00.6 0c 0 6 SA:1 - SATA 7200 211377/432901760 211977/434130816
parity 0c.00.1 0c 0 1 SA:1 - SATA 7200 211377/432901760 211977/434130816
data 0b.19 0b 1 3 FC:B - ATA 7200 211377/432901760 211921/434014304 (replacing, copy in progress)
-> copy 0c.00.0 0c 0 0 SA:1 - SATA 7200 211377/432901760 211977/434130816 (copy 1% completed)
data 0c.00.3 0c 0 3 SA:1 - SATA 7200 211377/432901760 211977/434130816
data 0c.00.11 0c 0 11 SA:1 - SATA 7200 211377/432901760 211977/434130816
data 0c.00.10 0c 0 10 SA:1 - SATA 7200 211377/432901760 211977/434130816
data 0c.00.9 0c 0 9 SA:1 - SATA 7200 211377/432901760 211977/434130816
data 0c.00.8 0c 0 8 SA:1 - SATA 7200 211377/432901760 211977/434130816
data 0c.00.7 0c 0 7 SA:1 - SATA 7200 211377/432901760 211977/434130816
data 0c.00.4 0c 0 4 SA:1 - SATA 7200 211377/432901760 211977/434130816
data 0b.29 0b 1 13 FC:B - ATA 7200 211377/432901760 211921/434014304
data 0c.00.5 0c 0 5 SA:1 - SATA 7200 211377/432901760 211977/434130816
Volume vol1 (online, raid_dp) (block checksums)
Plex /vol1/plex0 (online, normal, active)
RAID group /vol1/plex0/rg0 (normal)
RAID Disk Device HA SHELF BAY CHAN Pool Type RPM Used (MB/blks) Phys (MB/blks)
--------- ------ ------------- ---- ---- ---- ----- -------------- --------------
dparity 0c.00.6 0c 0 6 SA:1 - SATA 7200 211377/432901760 211977/434130816
parity 0c.00.1 0c 0 1 SA:1 - SATA 7200 211377/432901760 211977/434130816
data 0c.00.0 0c 0 0 SA:1 - SATA 7200 211377/432901760 211977/434130816
data 0c.00.3 0c 0 3 SA:1 - SATA 7200 211377/432901760 211977/434130816
data 0c.00.11 0c 0 11 SA:1 - SATA 7200 211377/432901760 211977/434130816
data 0c.00.10 0c 0 10 SA:1 - SATA 7200 211377/432901760 211977/434130816
data 0c.00.9 0c 0 9 SA:1 - SATA 7200 211377/432901760 211977/434130816
data 0c.00.8 0c 0 8 SA:1 - SATA 7200 211377/432901760 211977/434130816
data 0c.00.7 0c 0 7 SA:1 - SATA 7200 211377/432901760 211977/434130816
data 0c.00.4 0c 0 4 SA:1 - SATA 7200 211377/432901760 211977/434130816
data 0c.00.2 0c 0 2 SA:1 - SATA 7200 211377/432901760 211977/434130816
data 0c.00.5 0c 0 5 SA:1 - SATA 7200 211377/432901760 211977/434130816
Spare disks
RAID Disk Device HA SHELF BAY CHAN Pool Type RPM Used (MB/blks) Phys (MB/blks)
--------- ------ ------------- ---- ---- ---- ----- -------------- --------------
Spare disks for block or zoned checksum traditional volumes or aggregates
spare 0a.16 0a 1 0 FC:A - ATA 7200 211377/432901760 211921/434014304 (not zeroed)
spare 0a.20 0a 1 4 FC:A - ATA 7200 211377/432901760 211921/434014304
spare 0a.22 0a 1 6 FC:A - ATA 7200 211377/432901760 211921/434014304
spare 0a.24 0a 1 8 FC:A - ATA 7200 211377/432901760 211921/434014304
spare 0a.26 0a 1 10 FC:A - ATA 7200 211377/432901760 211921/434014304
spare 0b.17 0b 1 1 FC:B - ATA 7200 211377/432901760 211921/434014304 (not zeroed)
spare 0b.19 0b 1 3 FC:B - ATA 7200 211377/432901760 211921/434014304 (not zeroed)
spare 0b.25 0b 1 9 FC:B - ATA 7200 211377/432901760 211921/434014304
spare 0b.27 0b 1 11 FC:B - ATA 7200 211377/432901760 211921/434014304
spare 0b.29 0b 1 13 FC:B - ATA 7200 211377/432901760 211921/434014304 (not zeroed)
[ "$FILERTYPE" != "3040" -a "$FILERTYPE" != "3070" "$FILERTYPE" -a != "3070-br" ] && usage
rtpperfsrv053*> pktt start e0b -d / -s 5m
$tethereal -r e0b_20080519_102523.trc iscsi
7 0.000450 192.168.10.5 -> 192.168.10.3 iSCSI SCSI: Response LUN: 0xffff (CDB:0xffff) (Good)
8 0.000545 192.168.10.5 -> 192.168.10.4 iSCSI SCSI: Response LUN: 0xffff (CDB:0xffff) (Good)
68 0.001521 192.168.10.3 -> 192.168.10.5 iSCSI SCSI: Write(10) LUN: 0x07 (LBA: 0x00228718, Len: 112)SCSI: Data Out LUN: 0x07 (Write(10) Request Data)
69 0.002746 192.168.10.5 -> 192.168.10.3 iSCSI SCSI: Response LUN: 0x07 (Write(10)) (Good)
129 0.003225 192.168.10.3 -> 192.168.10.5 iSCSI SCSI: Write(10) LUN: 0x1e (LBA: 0x00228b00, Len: 112)SCSI: Data Out LUN: 0x1e (Write(10) Request Data)
180 0.004140 192.168.10.4 -> 192.168.10.5 iSCSI SCSI: Write(10) LUN: 0x1a (LBA: 0x03dd12e8, Len: 96)SCSI: Data Out LUN: 0x1a (Write(10) Request Data)
236 0.004871 192.168.10.4 -> 192.168.10.5 iSCSI SCSI: Write(10) LUN: 0x03 (LBA: 0x03de1060, Len: 104)SCSI: Data Out LUN: 0x03 (Write(10) Request Data)
315 0.005210 192.168.10.4 -> 192.168.10.5 iSCSI SCSI: Write(10) LUN: 0x1c (LBA: 0x03de1b00, Len: 104)SCSI: Data Out LUN: 0x1c (Write(10) Request Data)
331 0.005320 192.168.10.5 -> 192.168.10.3 iSCSI SCSI: Response LUN: 0x1e (Write(10)) (Good)
$tethereal -tad -r e0b_20080519_153919.trc -qz io,stat,0.5
IO Statistics
Interval: 0.500 secs
Column #0:
| Column #0
Time |frames| bytes
000.000-000.500 15249 15114470
000.500-001.000 7828 7686548
001.000-001.500 9094 8857572
001.500-002.000 9774 9650058
002.000-002.500 6218 6062802
002.500-003.000 15552 15328528
003.000-003.500 4803 4643892
003.500-004.000 6354 6203928
004.000-004.500 10224 10086896
004.500-005.000 5312 5169636
005.000-005.500 13555 13354682
005.500-006.000 6451 6369138
006.000-006.500 7528 7393106
tethereal -tad -r e0b_20080519_153919.trc -R 'ip.src==192.168.10.3 && iscsi'
Now I want to filer further because I have several iSCSI sessions on that client. I know that the session I am interested in is using port 4704 as its source port. Now I can filter iSCSI traffic to/from 192.168.10.3 AND the port is 4704 AND traffic is iSCSI - useful for watching one iSCSI session.
tethereal -tad -r e0b_20080519_153919.trc -R 'ip.addr==192.168.10.3 && iscsi &&; tcp.port==4704'
-bash-3.00$ sudo tethereal -tad -r e0b_20080519_153919.trc -R 'ip.addr==192.168.10.3 && iscsi && tcp.port==4704'
16620 2008-05-19 15:39:19.894110 192.168.10.3 -> 192.168.10.5 iSCSI SCSI: Read(10) LUN: 0x0a (LBA: 0x00000001, Len: 1)
17072 2008-05-19 15:39:19.935890 192.168.10.5 -> 192.168.10.3 iSCSI SCSI: Data In LUN: 0x0a (Read(10) Response Data) SCSI: Response LUN: 0x0a (Read(10)) (Good)
17172 2008-05-19 15:39:19.943567 192.168.10.3 -> 192.168.10.5 iSCSI SCSI: Write(10) LUN: 0x0a (LBA: 0x0146c3a0, Len: 96)SCSI: Data Out LUN: 0x0a (Write(10) Request Data)
39667 2008-05-19 15:39:20.957360 192.168.10.3 -> 192.168.10.5 iSCSI SCSI: Write(10) LUN: 0x0a (LBA: 0x0146c400, Len: 96)SCSI: Data Out LUN: 0x0a (Write(10) Request Data)
39909 2008-05-19 15:39:21.019261 192.168.10.5 -> 192.168.10.3 iSCSI SCSI: Response LUN: 0x0a (Write(10)) (Good)
40226 2008-05-19 15:39:21.036799 192.168.10.3 -> 192.168.10.5 iSCSI SCSI: Write(10) LUN: 0x0a (LBA: 0x0146c460, Len: 96)SCSI: Data Out LUN: 0x0a (Write(10) Request Data)