aggr
NAME
aggr - คำสั่งสำหรับการจัดการมวลรวมแสดงสถานะการรวมและการรวมตัวการคัดลอกสรุป
โต้แย้งคำสั่ง aggr ...DESCRIPTION
ครอบครัวคำสั่ง aggr จัดการมวลรวม คำสั่ง aggr สามารถสร้างมวลรวมใหม่, ทำลายวัตถุที่มีอยู่, undestroy ทำลายก่อนหน้านี้รวมการจัดการภายใน plexes รวมมิเรอร์เปลี่ยนสถานะการรวมใช้ตัวเลือกการที่จะรวมสำเนาหนึ่งไปยังอีกรวมและแสดงสถานะของพวกเขา คำสั่งที่มักจะส่งผลกระทบต่อการรวมปริมาณ (s) ที่มีอยู่ภายในมวลรวมครอบครัวคำสั่ง aggr ใหม่ในข้อมูล ONTAP 7.0 ครอบครัวคำสั่งฉบับที่ให้การควบคุมมากกว่าแบบดั้งเดิม vol_ U mes ที่หลอมรวมเป็นหนึ่งเดียวของระบบไฟล์ที่ผู้ใช้มองเห็นและภาชนะจัดเก็บเพียงครั้งเดียว RAID ระดับ-(รวมอยู่) เป็นหน่วยแบ่งแยกและยังคงไม่ เพื่อให้สามารถใช้ความยืดหยุ่นมากขึ้นของการจัดเก็บมวลรวมในขณะนี้ยังสนับสนุนความสามารถในการมีหลายอิสระระดับผู้ใช้ระบบไฟล์ที่มีชื่อไดรฟ์ที่มีความยืดหยุ่น
ข้อมูล ONTAP 7.0 สนับสนุนอย่างเต็มที่วอลุ่มแบบดั้งเดิมและมีความยืดหยุ่นทั้ง ครอบครัวคำสั่ง aggr เป็นวิธีที่ต้องการสำหรับการจัดการมวลรวมของ filer รวมทั้งพวกที่ฝังอยู่ในไดรฟ์แบบดั้งเดิม
โปรดสังเกตว่าส่วนใหญ่ของคำสั่ง aggr ใช้อย่างเท่าเทียมกันทั้งชนิดของการรวมที่มีปริมาณความยืดหยุ่นและประเภทของการที่ถูกผูกไว้อย่างแน่นหนาเพื่อสร้างไดรฟ์แบบดั้งเดิม ดังนั้นการรวมคำที่มักจะใช้ที่นี่เพื่อดูทั้งชั้นเรียนที่จัดเก็บ ในกรณีดังกล่าวก็ให้จดชวเลข "มวลรวมและปริมาณดั้งเดิม" อีกต่อไปและเทอะทะมากขึ้นวลี
รวมทั้งอาจจะเป็นมิเรอร์หรือ unmirrored เพล็กซ์เป็นสำเนาทางกายภาพของการจัดเก็บ WAFL ภายในรวม รวมเรอประกอบด้วยสอง plexes; มวลรวม unmirrored มีเพล็กซ์เดียว เพื่อสร้างการรวมมิเรอร์คุณจะต้องมีการกำหนดค่า filer ที่สนับสนุนการมิเรอร์ RAID ระดับ เมื่อถูกเปิดใช้งานมิเรอร์เมื่อ filer, ดิสก์สำรองแบ่งออกเป็นสองสระว่ายน้ำดิสก์ เมื่อรวมกันจะถูกสร้างขึ้นทั้งหมดของดิสก์ในเพล็กซ์ซิงเกิ้ลต้องมาจากสระว่ายน้ำดิสก์เดียวกันและทั้งสอง plexes จากการรวมมิเรอร์ต้องประกอบด้วยดิสก์จากสระว่ายน้ำที่แยกจากกันเช่นนี้ช่วยเพิ่มการแยกความผิด นโยบายนี้สามารถแทนที่ด้วย F-ตัวเลือกนี้เพื่อสร้าง aggr, aggr เพิ่มและกระจก aggr แต่จะไม่แนะนำ
ชื่อสามารถมีการรวมตัวอักษรตัวเลขและตัวอักษรที่ขีดล่าง (_) แต่ตัวอักษรตัวแรกต้องเป็นตัวอักษรหรือขีดล่าง รวมกันถึง 200 มวลรวม (รวมทั้งที่ฝังตัวอยู่ในไดรฟ์แบบเดิม) สามารถสร้างขึ้นบนแต่ละ filer
เพล็กซ์อาจจะเป็นออนไลน์หรือออฟไลน์ ถ้าเป็นแบบออฟไลน์จะไม่สามารถใช้ได้สำหรับการอ่านหรือเขียนเข้าถึง Plexes สามารถในการรวมกันของรัฐต่อไปนี้:
ปกติทุกกลุ่ม RAID ในเพล็กซ์กำลังทำงาน
ล้มเหลวอย่างน้อยหนึ่งกลุ่ม RAID ในเพล็กซ์ล้มเหลว
เพล็กซ์ที่ว่างเปล่าเป็นส่วนหนึ่งของการรวมที่จะถูกสร้างขึ้นและหนึ่งหรือมากกว่าของดิสก์ที่กำหนดเป้าหมายไปรวมจะต้องมีการกลายเป็นศูนย์ก่อนที่จะถูกบันทึกอยู่ในเพล็กซ์
เพล็กซ์ที่ใช้งานสามารถใช้ได้สำหรับการใช้งาน
ที่รอ
เพล็กซ์ไม่สามารถใช้ได้สำหรับการใช้งาน
resyncing
เนื้อหาของเพล็กซ์กำลังออกจากวันที่และอยู่ในกระบวนการของการ resynchronized กับเนื้อหาของเพล็กซ์อื่น ๆ ของการรวม (ใช้กับมวลรวมที่มิเรอร์เท่านั้น)
การเพิ่มดิสก์
ดิสก์ที่ถูกบันทึกอยู่ในเพล็กซ์ของกลุ่ม RAID (s)
ล้าสมัย
รัฐนี้จะเกิดขึ้นในมวลรวมที่มิเรอร์ที่หนึ่งของ plexes ล้มเหลว เพล็กซ์ที่ไม่ได้ล้มเหลวจะอยู่ในสภาพนี้ถ้ามันจะต้อง resynchronized เวลาเพล็กซ์อื่น ๆ ที่ล้มเหลว
เพล็กซ์เป็นชื่อโดยใช้ชื่อของการรวม, คั่นอักขระเครื่องหมายทับและชื่อของเพล็กซ์ ระบบจะเลือกชื่อเพล็กซ์เวลาการสร้าง ตัวอย่างเช่นเพล็กซ์สร้างขึ้นครั้งแรกในการรวม aggr0 จะ aggr0/plex0
รวมอาจจะออนไลน์ จำกัด หรือออฟไลน์ เข้าถึงเมื่อรวมจะไม่อ่านหรือเขียนได้รับอนุญาต เมื่อรวมกันเป็นแบบ จำกัด ดำเนินการบางอย่างได้รับอนุญาต (เช่นสำเนารวม recomputation ความเท่าเทียมกันหรือฟื้นฟู RAID) แต่การเข้าถึงข้อมูลจะไม่ได้รับอนุญาต มวลรวมที่ไม่ได้เป็นส่วนหนึ่งของไดรฟ์แบบเดิมสามารถถูก จำกัด หรือ offlined ถ้าพวกเขาไม่ได้มีปริมาณความยืดหยุ่นใด ๆ
ขันธ์สามารถในการรวมกันของรัฐต่อไปนี้:
aggr รวมเป็นรวมวันที่ทันสมัย; มันเป็นที่สามารถบรรจุเป็นศูนย์หรือมากกว่าปริมาณที่มีความยืดหยุ่น
การทำสำเนา
รวมเวลาปัจจุบันรวมเป้าหมายของการดำเนินการคัดลอก aggr ใช้งานอยู่
เสื่อมโทรม
รวมมีกลุ่ม RAID อย่างน้อยหนึ่งเสื่อมโทรมที่ไม่ได้ถูกสร้างขึ้นใหม่
ต่างประเทศ
ดิสก์ที่มีการรวมที่ถูกย้ายไปยัง filer ปัจจุบันจาก filer อื่น
การเจริญเติบโต
ดิสก์อยู่ในกระบวนการของถูกเพิ่มเข้าไปในการรวม
การเริ่มต้น
รวมอยู่ในกระบวนการของการเริ่มต้น
ที่ไม่ถูกต้อง
รวมประกอบด้วยไดรฟ์ไม่ได้และไม่มีผู้ใดสามารถเพิ่ม โดยปกตินี้เกิดขึ้นเฉพาะหลังจากที่การดำเนินการคัดยกเลิกการรวม
รีดผ้า
ตรวจสอบความสอดคล้อง WAFL จะถูกดำเนินการเกี่ยวกับการรวมนี้
กระจกเสื่อมโทรม
รวมเป็นรวมมิเรอร์และหนึ่งใน plexes ที่เป็นออฟไลน์หรือ resyncing
มิเรอร์
รวมเป็นมิเรอร์และทุกกลุ่ม RAID ที่มีการทำงาน
ความต้องการตรวจสอบ
ตรวจสอบความสอดคล้องกับความต้องการใน WAFL ที่จะดำเนินการเกี่ยวกับการรวม
บางส่วน
อย่างน้อยหนึ่งดิสก์พบกับการรวม แต่สองคนหรือมากกว่าดิสก์จะหายไป
RAID0 รวมประกอบด้วย RAID-0 (parity ไม่มี) กลุ่ม RAID (V-Series และ NetCache เท่านั้น)
raid4 รวมประกอบด้วย RAID-4 กลุ่ม RAID
raid_dp
รวมประกอบด้วย RAID-DP (พาริตี้คู่) กลุ่ม RAID
บูรณะ
กลุ่ม RAID อย่างน้อยหนึ่งในการรวมจะถูกสร้างขึ้นใหม่
เปลี่ยนเส้นทาง
จัดสรรรวมหรือกำหนดใหม่ไฟล์ที่มีตัวเลือก P-ได้รับการเริ่มต้นในการรวม อ่านผลการดำเนินงานที่จะไดรฟ์ในการรวมอาจลดลง
resyncing
หนึ่งใน plexes จากการรวมมิเรอร์จะถูก resynchronized
snapmirrored
รวมเป็นแบบจำลองของการรวม snapmirrored อื่น รัฐนี้จะสามารถเกิดขึ้นหากการรวมเป็นส่วนหนึ่งของไดรฟ์แบบดั้งเดิม
ตราดรวมจะหลอมรวมเข้ากับเสียงเดียว นี้จะยังเรียกว่าไดรฟ์แบบดั้งเดิมและเป็นสิ่งที่เทียบเท่ากับปริมาณที่มีอยู่ก่อนข้อมูล ONTAP 7.0 วอลุ่มที่มีความยืดหยุ่นไม่สามารถสร้างที่อยู่ภายในการรวมนี้
การตรวจสอบ
RAID กระจกดำเนินการตรวจสอบกำลังมีการทำงานในการรวม
WAFL ที่ไม่สอดคล้องกัน
รวมได้รับการทำเครื่องหมายที่เสียหาย กรุณาติดต่อฝ่ายบริการลูกค้าถ้าคุณเห็นการรวมในรัฐนี้
การใช้
คำสั่งต่อไปมีอยู่ในห้องพัก aggr:เพิ่มกระจก จำกัด undestroy คัดลอกขัดออฟไลน์ยืนยันสร้าง show_space ออนไลน์ทำลายตัวเลือกในการแยก media_scrub สถานะเปลี่ยนชื่อ
[-F]
[n]
[-G {raidgroup | ใหม่ | ทั้งหมด}]
{ndisks [ดูขนาด @]
- |
- -d DISK1 [disk2 ... ] [-d diskn [diskn 1 ... ]]}
ถ้า-G ตัวเลือกที่จะไม่ใช้แผ่นดิสก์มีเพิ่มขึ้นมากที่สุดเมื่อเร็ว ๆ นี้ RAID กลุ่ม util มันเต็มแล้วอย่างใดอย่างหนึ่งหรือหลายกลุ่ม RAID ใหม่ถูกสร้างขึ้นและดิสก์ที่เหลือจะเพิ่มไปยังกลุ่มใหม่ อื่น ๆ ที่มีอยู่ในกลุ่ม RAID ที่ไม่เต็มรูปแบบยังคงเต็มไปบางส่วน
-G ตัวเลือกที่ช่วยให้สเปคของกลุ่ม RAID (เช่น rg0) ที่ดิสก์ที่ระบุควรจะเพิ่มหรือวิธีการที่ดิสก์จะถูกเพิ่มเข้าไปใหม่หรือที่มีอยู่ในกลุ่ม RAID
ถ้า-G ตัวเลือกที่จะใช้ในการระบุกลุ่ม RAID กลุ่ม RAID ที่ต้องมีอยู่แล้ว ดิสก์จะถูกเพิ่มที่ util กลุ่ม RAID มันเต็ม ใดดิสก์ที่เหลือจะถูกละเว้น
ถ้าตัวเลือก-G ตามด้วยใหม่ข้อมูล ONTAP สร้างหนึ่งหรือกลุ่ม RAID ใหม่และเพิ่มดิสก์ให้กับพวกเขาแม้ว่าดิสก์จะพอดีกับกลุ่ม RAID ที่มีอยู่ ใด ๆ ที่กลุ่ม RAID ที่มีอยู่ที่ไม่เต็มรูปแบบยังคงเต็มไปบางส่วน ชื่อของกลุ่ม RAID ใหม่จะถูกเลือกโดยอัตโนมัติ มันเป็นไปไม่ได้ที่จะระบุชื่อสำหรับกลุ่ม RAID ใหม่
ถ้าตัวเลือก-G ตามด้วยทุกข้อมูล ONTAP เพิ่มดิสก์ที่กำหนดให้กับกลุ่ม RAID ที่มีอยู่ก่อน หลังจากที่ทุกกลุ่ม RAID ที่มีอยู่เต็มจะสร้างหนึ่งหรือกลุ่ม RAID ใหม่และเพิ่มดิสก์ที่ระบุไปยังกลุ่มใหม่
ตัวเลือก n สามารถนำมาใช้เพื่อแสดงคำสั่งที่ระบบจะดำเนินการโดยไม่จริงการเปลี่ยนแปลงใด ๆ นี้จะเป็นประโยชน์สำหรับการแสดงดิสก์เลือกโดยอัตโนมัติเช่น
โดยค่าเริ่มต้น filer เติมขึ้นกลุ่ม RAID หนึ่งกับดิสก์ก่อนที่จะเริ่มในกลุ่ม RAID อื่น สมมติว่าการรวมขณะนี้มีกลุ่ม RAID หนึ่งใน 12 แผ่นและขนาดของกลุ่ม RAID คือ 14 ถ้าคุณเพิ่ม 5 ดิสก์เพื่อรวมนี้จะมีกลุ่มหนึ่งที่มี RAID 14 ดิสก์และกลุ่ม RAID อื่นที่มี 3 แผ่น filer ไม่เท่ากันแจกจ่ายแผ่นดิสก์ระหว่างกลุ่ม RAID
คุณไม่สามารถเพิ่มดิสก์เพื่อรวมมิเรอร์หากมี plexes ครับ
ดิสก์ในเพล็กซ์ยังไม่ได้รับอนุญาตให้ขยายสระว่ายน้ำดิสก์ ลักษณะการทำงานนี้สามารถแทนที่ด้วย F-ธงเมื่อใช้ร่วมกับ D-อาร์กิวเมนต์ไปยังรายการดิสก์เพื่อเพิ่ม -F ธงร่วมกับ-d, ยังสามารถใช้เพื่อบังคับให้เพิ่มดิสก์ที่มีความเร็วในการหมุนที่ไม่ตรงกับที่ของคนส่วนใหญ่ของดิสก์ที่มีอยู่ในการรวม
aggr สำเนายกเลิก [-h] operation_number | ทั้งหมด
ยุติการดำเนินงานสำเนารวม พารามิเตอร์ opera_ T ion_number ระบุว่าการดำเนินการเพื่อยุติการ ถ้าคุณระบุทั้งหมดทั้งหมดรวมการดำเนินงานสำเนาที่ใช้งานจะสิ้นสุดลง
เริ่มต้น aggr สำเนา
[-S |-s snapshot] [-C]
ปลายทางที่มา
คัดลอกข้อมูลทั้งหมดรวมทั้งภาพรวมและปริมาณความยืดหยุ่นจากที่หนึ่งไปยังอีกรวม ถ้าธง-S จะใช้คำสั่งคัดลอกภาพรวมทั้งหมดในการรวมแหล่งที่มาเพื่อรวมปลายทาง เมื่อต้องการระบุภาพรวมโดยเฉพาะอย่างยิ่งที่จะคัดลอกให้ใช้-s ธงตามด้วยชื่อของ snapshot ถ้าคุณใช้ทั้ง S-ธงหรือ-s ในคำสั่งที่ filer สร้าง snapshot ในขณะที่คำสั่งเริ่มต้น aggr สำเนาจะถูกดำเนินการและคัดลอกภาพรวมเท่านั้นที่จะรวมปลายทาง
ธง-C จำเป็นต้องใช้ถ้ารวมแหล่งได้มีการจัดระเบียบพื้นที่ว่าง-ดำเนินการกับมันหรือถ้ารวมปลายทางจะได้รับฟรีพื้นที่จัดระเบียบ จัดระเบียบพื้นที่ฟรีสามารถดำเนินการเกี่ยวกับการรวมการใช้คำสั่งกำหนดใหม่
สำเนารวมสามารถดำเนินการระหว่างมวลรวมที่โฮสต์วอลุ่มที่มีความยืดหยุ่น ขันธ์ที่ฝังอยู่ในไดรฟ์แบบดั้งเดิมไม่สามารถมีส่วนร่วม
รวบรวมแหล่งที่มาและปลายทางสามารถอยู่บน filer เดียวกันหรือ filers ที่แตกต่างกัน หากแหล่งที่มาหรือการรวมปลายทางอยู่บน filer อื่นนอกเหนือจากที่คุณใส่คำสั่ง aggr เริ่มต้นคัดลอกระบุชื่อรวมใน filer_name: aggre_ รูปแบบ ate_name กรัม
filers ที่เกี่ยวข้องในการสำเนาการรวมต้องเป็นไปตามข้อกำหนดต่อไปนี้สำหรับคำสั่ง aggr เริ่มต้นสำเนาที่จะเสร็จสมบูรณ์แล้ว:
รวมแหล่งที่มาต้องเป็นแบบออนไลน์และการรวมปลายทางจะต้องถูก จำกัด
หากมีสำเนาอยู่ระหว่างสอง filers, filer แต่ละคนจะต้องกำหนดเป็นเจ้าภาพคนอื่น ๆ ของ filer นั่นคือชื่อของ filer จะต้องอยู่ในไฟล์ / etc / hosts.equiv จาก filer อื่น ๆ
หากมีสำเนาอยู่บน filer เดียวกัน localhost ต้องรวมอยู่ใน / etc filer ของ / แฟ้ม hosts.equiv นอกจากนี้ที่อยู่ย้อนกลับจะต้องอยู่ใน filer ของไฟล์ / etc / ครอบครัว มิฉะนั้น filer ไม่สามารถส่งแพ็กเก็ตเพื่อตัวเองผ่านทางที่อยู่ย้อนกลับเมื่อพยายามที่จะคัดลอกข้อมูล
พื้นที่ดิสก์ที่ใช้งานได้จากการรวมปลายทางต้องมากกว่าหรือเท่ากับพื้นที่ดิสก์ที่ใช้งานได้จากการรวมแหล่ง ใช้ df-คำสั่งชื่อพา ธ ที่จะเห็นจำนวนของเนื้อที่ดิสก์ที่ใช้งานได้จากการรวมโดยเฉพาะอย่างยิ่ง
แต่ละคำสั่ง aggr เริ่มต้นสร้างสำเนาทั้งสองดำเนินการสำเนาการรวม: หนึ่งสำหรับการอ่านข้อมูลจากการรวมแหล่งที่มาและหนึ่งสำหรับการเขียนข้อมูลไปยังปลายทางรวม filer แต่ละรองรับได้ถึงสี่พร้อมกันการดำเนินงานสำเนารวม
สถานะ aggr สำเนา [operation_number]
แสดงความคืบหน้าของหนึ่งหรือทั้งหมดสำเนา aggr การดำเนินงาน การดำเนินงานจะมีหมายเลขตั้งแต่ 0 ถึง 3
ข้อมูลการรีสตาร์ทด่านสำหรับการถ่ายโอนทั้งหมดจะปรากฏขึ้นยัง
aggr สำเนาเค้น [operation_number] ค่า
ควบคุมการปฏิบัติงานของการดำเนินการคัด aggr ช่วงค่าจาก 10 (full speed) ถึง 1 (หนึ่งในสิบของความเร็วเต็ม) ค่าเริ่มต้นจะยังคงอยู่ในตัวเลือกของ aggr.copy.throttle filer และมีการตั้งค่า 10 (full speed) ที่โรงงาน คุณสามารถใช้ค่าประสิทธิภาพการดำเนินงานที่กำหนดโดยพารามิเตอร์ operation_number หากคุณไม่ได้ระบุจำนวนการดำเนินงานในคำสั่ง aggr เค้นสำเนาคำสั่งกับทุก aggr การดำเนินงานสำเนา
ใช้คำสั่งนี้เพื่อ จำกัด ความเร็วของการดำเนินการคัดลอก aggr ถ้าคุณสงสัยว่าการดำเนินการคัด aggr ที่เป็นสาเหตุของปัญหาประสิทธิภาพการทำงานของคุณเกี่ยวกับ filer โดยเฉพาะอย่างยิ่งเค้นถูกออกแบบมาเพื่อช่วย จำกัด การใช้งาน CPU ของการดำเนินการคัด aggr มันไม่สามารถใช้กับเครือข่ายแบนด์วิดธ์ปรับรูปแบบการบริโภค
คำสั่ง aggr เค้นการคัดลอกเพียง แต่ช่วยให้คุณสามารถตั้งค่าความเร็วของการดำเนินการคัดลอก aggr ที่อยู่ในความคืบหน้า การตั้งค่าเริ่มต้น aggr ความเร็วสำเนาที่จะใช้โดยการดำเนินการคัดลอกในอนาคตให้ใช้คำสั่งตัวเลือกการตั้งค่าตัวเลือกที่ aggr.copy.throttle
aggrname aggr สร้าง
[-F]
[-M]
[n]
[-T raidtype]
[-r raidsize]
[-T-ดิสก์ชนิด]
[-R รอบต่อนาที]
[-L [ปฏิบัติ | องค์กร]]
[-V]
[-L-code ภาษา]
{ndisks [ดูขนาด @]
- |
- -d DISK1 [disk2 ... ] [-d diskn [diskn 1 ... ]]}
รวมฝังตัวที่สามารถสร้างเป็นส่วนหนึ่งของไดรฟ์แบบดั้งเดิมโดยใช้ตัวเลือก v มันไม่สามารถมีปริมาณความยืดหยุ่นใด ๆ
รวมปกติที่สร้างขึ้นโดยไม่ต้อง-V ตัวเลือกที่สามารถมีไดรฟ์ที่มีความยืดหยุ่นเท่านั้น ไม่สามารถรวมอยู่ในไดรฟ์แบบดั้งเดิมและจะมีปริมาณไม่ทันทีหลังจากที่การสร้าง วอลุ่มที่มีความยืดหยุ่นใหม่สามารถสร้างขึ้นโดยใช้ปริมาตรสร้างคำสั่ง
t-อาร์กิวเมนต์ raidtype ระบุชนิดของ RAID กลุ่ม (s) เพื่อนำมาใช้เพื่อสร้างการรวม ประเภทกลุ่ม RAID ที่เป็นไปได้ raid4 สำหรับ RAID-4, raid_dp สำหรับ RAID-DP (พาริตี้คู่) และ RAID0 สำหรับ striping ง่ายโดยไม่มีการป้องกันความเท่าเทียมกัน raidtype เริ่มต้นสำหรับมวลรวมและปริมาณดั้งเดิมเมื่อ filers เป็น raid_dp การตั้งค่า raidtype ไม่ได้รับอนุญาตในระบบ V-Series; เริ่มต้นจาก RAID0 ถูกนำมาใช้เสมอ
-r อาร์กิวเมนต์ raidsize ระบุจำนวนสูงสุดของดิสก์ในกลุ่ม RAID ในแต่ละการรวม ค่าสูงสุดและค่าเริ่มต้นของ raidsize เป็นแพลตฟอร์มขึ้นอยู่บนพื้นฐานของการพิจารณาประสิทธิภาพและความน่าเชื่อถือ ดูตัวเลือก aggr raidsize เพื่อดูรายละเอียดเพิ่มเติม
-T อาร์กิวเมนต์ดิสก์ชนิดระบุชนิดของดิสก์ที่จะใช้เมื่อมีการสร้างการรวมใหม่ มันเป็นสิ่งจำเป็นเฉพาะในระบบที่เชื่อมต่อกับดิสก์ชนิดที่แตกต่างกัน ประเภทดิสก์เป็นไปได้คือ ATA, FCAL, LUN, SAS, SATA, SCSI และ ดิสก์ผสมชนิดที่แตกต่างกันในที่เดียวรวมไม่ได้รับอนุญาต.-T จะไม่สามารถใช้ร่วมกับ-d
ประเภทของดิสก์ระบุเทคโนโลยีดิสก์และประเภทการเชื่อมต่อ. ATA ระบุดิสก์ ATA กับทั้ง IDE หรือ ATA interface serial ในชั้นวางที่เชื่อมต่อใน FCAL (Fibre Channel Arbitrated Loop). FCAL ระบุดิสก์ FC ในชั้นวางที่เชื่อมต่อใน FC-AL. LUN ระบุดิสก์เสมือนที่ส่งออกจาก อาร์เรย์จัดเก็บข้อมูลภายนอก ประเภทของเทคโนโลยีดิสก์ต้นแบบและ RAID ขึ้นอยู่กับการดำเนินการดังกล่าวอาร์เรย์จัดเก็บข้อมูลภายนอก. SAS ระบุดิสก์ SCSI Serial Attached ในชั้นวางที่ตรงกัน. SATA ระบุดิสก์ ATA แบบอนุกรมในชั้นวาง SAS. SCSI หมายถึงการเชื่อมต่อระบบคอมพิวเตอร์ขนาดเล็กและจะมีการรวมกันได้ย้อนหลัง ก่อนหน้านี้ที่มีเทคโนโลยีดิสก์
-R อาร์กิวเมนต์ rpm ระบุชนิดของดิสก์ที่จะใช้ขึ้นอยู่กับความเร็วในการหมุนของพวกเขาในรอบต่อนาที (RPM) มันเป็นสิ่งจำเป็นเฉพาะในระบบที่มีดิสก์ที่มีความเร็วในการหมุนที่แตกต่างกัน ค่าทั่วไปสำหรับความเร็วในการหมุนเป็น 5400, 7200, 10000, 15000 และ.-R ไม่สามารถใช้ร่วมกับ-d
ndisks คือจำนวนของดิสก์ในการรวมรวมทั้งดิสก์ parity ดิสก์ในการรวมที่สร้างขึ้นใหม่นี้มาจากสระว่ายน้ำของดิสก์สำรอง ดิสก์ที่เล็กที่สุดในสระว่ายน้ำนี้เข้าร่วมรวมก่อนจนกว่าคุณจะระบุอาร์กิวเมนต์ขนาด @. ขนาดคือขนาดของดิสก์ใน GB และดิสก์ที่อยู่ภายใน 10% ของขนาดที่กำหนดจะถูกเลือกสำหรับใช้ในการรวม
M-ตัวเลือกที่สามารถนำมาใช้เพื่อระบุว่าการรวมใหม่เป็นมิเรอร์ (มีสอง plexes) เมื่อสร้าง ถ้าตัวเลือกนี้จะได้รับนั้นดิสก์ที่ระบุจะถูกแยกออกไปทั่วทั้งสอง plexes โดยค่าเริ่มต้นการรวมใหม่จะไม่เป็นมิเรอร์
ตัวเลือก n สามารถนำมาใช้เพื่อแสดงคำสั่งที่ระบบจะดำเนินการโดยไม่จริงการเปลี่ยนแปลงใด ๆ นี้จะเป็นประโยชน์สำหรับการแสดงดิสก์เลือกโดยอัตโนมัติเช่น
ถ้าคุณใช้ d-DISK1 [disk2 ... อาร์กิวเมนต์], filer สร้างการรวมกับดิสก์สำรองที่ระบุ DISK1, disk2 และอื่น ๆ คุณสามารถระบุรายชื่อพื้นที่ที่คั่นของชื่อดิสก์ สองรายการที่แยกจากกันจะต้องระบุหากการรวมใหม่จะถูกสะท้อน ในกรณีที่การรวมใหม่เป็นมิเรอร์, ดิสก์ที่ระบุจะต้องมีผลในจำนวนที่เท่ากันของดิสก์เมื่อเพล็กซ์ใหม่แต่ละ
ดิสก์ในเพล็กซ์ยังไม่ได้รับอนุญาตให้ขยายสระว่ายน้ำสำรอง ลักษณะการทำงานนี้สามารถแทนที่ด้วยตัวเลือก F- ตัวเลือกเดียวกันยังสามารถใช้ในการบังคับใช้ดิสก์ที่ไม่ได้มีการจับคู่ความเร็วในการหมุน F-ตัวเลือกที่มีผลเฉพาะเมื่อใช้กับ D-ตัวเลือกที่ระบุดิสก์ที่จะใช้
เมื่อต้องการสร้างการรวม SnapLock ระบุธงที่มี L-aggr คำสั่งสร้าง ธงนี้ได้รับการสนับสนุนเฉพาะในกรณีที่ทั้ง SnapLock ตามมาตรฐานหรือ Enterprise SnapLock ได้รับใบอนุญาต ชนิดของการรวม SnapLock สร้าง, ตามมาตรฐานอย่างใดอย่างหนึ่งหรือ Enterprise ถูกกำหนดโดยใบอนุญาต SnapLock ติดตั้ง หากทั้งสองตามมาตรฐาน SnapLock และ Enterprise SnapLock ได้รับอนุญาตปฏิบัติตามการใช้ L-หรือ-L องค์กรเพื่อระบุชนิดการรวมที่ต้องการ
-l อาร์กิวเมนต์ LANGUAGE_CODE อาจจะถูกใช้ก็ต่อเมื่อสร้างไดรฟ์แบบดั้งเดิมโดยใช้ตัวเลือก-V filer จะสร้างเสียงแบบดั้งเดิมกับภาษาที่ระบุโดยรหัสภาษา เริ่มต้นเป็นภาษาที่ใช้โดยปริมาณรากของ filer ดูฉบับ หน้าคนสำหรับรายชื่อของรหัสภาษา
aggr ทำลาย {aggrname | plexname} [-F]
ทำลายการรวม aggrname ชื่อหรือเพล็กซ์ที่มีชื่อ plexname โปรดทราบว่าถ้ารวมที่ระบุไว้จะเชื่อมโยงกับปริมาณดั้งเดิมนั้นปริมาณการแบบดั้งเดิมที่ตัวเองจะถูกทำลายเช่นกัน
หากรวมการระบุ plexes ทั้งหมดในการรวมจะถูกทำลาย รวมชื่อต้องยังไม่ได้มีปริมาณความยืดหยุ่นใด ๆ ที่ไม่คำนึงถึงสถานะของพวกเขาติด (ออนไลน์ จำกัด หรือออฟไลน์) ถ้าเพล็กซ์มีการระบุเพล็กซ์ถูกทำลายทิ้งปริมาณ unmirrored รวมหรือแบบดั้งเดิมที่มีเพล็กซ์ที่เหลืออยู่ ก่อนที่จะทำลายการรวมปริมาณเพล็กซ์แบบดั้งเดิมหรือผู้ใช้จะได้รับพร้อมท์ให้ยืนยันการดำเนินการ F-ธงสามารถใช้ในการทำลายการรวมปริมาณเพล็กซ์แบบดั้งเดิมหรือโดยไม่ต้องแจ้งให้ผู้ใช้
ดิสก์เดิมในวัตถุที่ถูกทำลายกลายเป็นดิสก์สำรอง เฉพาะมวลรวมออฟไลน์วอลุ่มแบบดั้งเดิมและ plexes สามารถถูกทำลายได้
สถานะ media_scrub aggr [aggrname | plexname | GroupName]
[-V]
พิมพ์สถานะขัดสื่อของการรวมชื่อ, เพล็กซ์หรือกลุ่ม ถ้าไม่มีชื่อจะได้รับแล้วสถานะจะถูกพิมพ์สำหรับทุกกลุ่ม RAID กำลังทำงานขัดสื่อ สถานะรวมถึงเปอร์เซ็นต์ที่สมบูรณ์และไม่ว่าจะถูกระงับ
-V ธงแสดงวันที่และเวลาที่สื่อเต็มรูปแบบครั้งล่าสุดถูเสร็จวันที่และเวลาที่อินสแตนซ์ปัจจุบันของสื่อซึ่งขัดถูเริ่มต้นและสถานะปัจจุบันของการรวมชื่อ, เพล็กซ์หรือกลุ่ม ถ้าไม่มีชื่อจะได้รับสถานะนี้ verbose เพิ่มเติมจะถูกพิมพ์สำหรับทุกกลุ่ม RAID กับสื่อที่ใช้งานขัด
aggrname aggr กระจก
[-F]
[n]
[-V victim_aggrname]
[-d DISK1 [disk2 ... ]]
เปลี่ยนจากการรวม unmirrored ลงรวมมิเรอร์โดยการเพิ่มเพล็กซ์ไป เพล็กซ์เป็นทั้งที่เพิ่งก่อตัวขึ้นจากดิสก์เลือกจากสระว่ายน้ำสำรองหรือถ้าตัวเลือก-V ถูกระบุจะถูกนำมาจากที่อื่นรวม unmirrored ที่มีอยู่ aggrname รวมจะต้องใช้ในปัจจุบันจะ unmirrored ใช้ aggr สร้างให้ใหม่มิเรอร์รวมจากรอยขีดข่วน
ดิสก์อาจจะระบุไว้อย่างชัดเจนโดยใช้มิติในลักษณะเดียวกันเช่นเดียวกับการสร้างและ aggr aggr คำสั่งเพิ่ม จำนวนของดิสก์ที่ระบุจะต้องตรงกับปัจจุบันจำนวนรวมที่มีอยู่ ดิสก์ที่กำหนดจะไม่ได้รับอนุญาตให้ขยายสระว่ายน้ำดิสก์ ลักษณะการทำงานนี้สามารถแทนที่ด้วยตัวเลือก F- -f ตัวเลือกในการรวมกันกับ-d นอกจากนี้ยังสามารถใช้ในการบังคับใช้ดิสก์ที่มีความเร็วในการหมุนที่ไม่ตรงกับที่ของคนส่วนใหญ่ของดิสก์ที่มีอยู่ในการรวม
ถ้าดิสก์ไม่ได้ระบุไว้อย่างชัดเจนแล้วดิสก์จะถูกเลือกโดยอัตโนมัติเพื่อให้ตรงกับผู้ที่อยู่ในเพล็กซ์ที่มีอยู่รวมกันของ
ตัวเลือก v สามารถใช้ในการเข้าร่วม victim_aggrname กลับเข้ามาในรูปแบบ aggrname รวมมิเรอร์ ผลที่ได้คือ aggrname มิเรอร์ที่มีชื่อรวมซึ่งเป็นอย่างอื่นเหมือน aggrname ก่อนที่จะดำเนินการ Victim_aggrname. ถูกทำลายได้อย่างมีประสิทธิภาพ. Victim_aggrname ต้องได้รับก่อนหน้านี้สะท้อนกับ aggrname แยกแล้วผ่านทางคำสั่งแยก aggr. Victim_aggrname จะต้องเป็นแบบออฟไลน์ รวมกับตัวเลือก v, F-ตัวเลือกที่สามารถใช้ในการเข้าร่วม aggrname และ im_aggrname vic_ ทีโดยไม่ต้องแจ้งให้ผู้ใช้
ตัวเลือก n สามารถนำมาใช้เพื่อแสดงคำสั่งที่ระบบจะดำเนินการจริงโดยไม่ทำการเปลี่ยนแปลงใด ๆ นี้จะเป็นประโยชน์สำหรับการแสดงดิสก์เลือกโดยอัตโนมัติเช่น
ออฟไลน์ aggr {aggrname | plexname}
[-T cifsdelaytime]
นำ aggrname ชื่อการรวม (หรือเพล็กซ์ที่มีชื่อ plexname) ออฟไลน์ คำสั่งจะมีผลก่อนที่จะกลับ หากรวมที่มีอยู่แล้วในสภาพที่ถูก จำกัด จากนั้นมันมีอยู่แล้วพร้อมใช้งานสำหรับการเข้าถึงข้อมูลและมากของรายละเอียดดังต่อไปนี้ใช้ไม่ได้
หากรวมที่มีปริมาณความยืดหยุ่นใด ๆ แล้วการดำเนินการจะถูกยกเลิกจนกว่า filer อยู่ในโหมดการบำรุงรักษา
ยกเว้นในโหมดการบำรุงรักษารวมที่มีปริมาณรากปัจจุบันอาจไม่สามารถดำเนินการแบบออฟไลน์ รวมที่มีปริมาณที่ได้รับการทำเครื่องหมายที่จะกลายเป็นราก (โดยใช้ปริมาตรตัวเลือกราก vol_ n AME) ยังไม่สามารถนำแบบออฟไลน์
If the aggregate is embedded in a traditional volume that has CIFS shares, users should be warned before taking the aggregate (and hence the entire traditional volume) offline. Use the -t switch for this. The cifsdelaytime argument specifies the number of minutes to delay before taking the embedded aggregate offline, during which time CIFS users of the traditional volume are warned of the pending loss of service. A time of 0 means take the aggregate offline immediately with no warnings given. CIFS users can lose data if they are not given a chance to terminate applications gracefully.
If a plexname is specified, the plex must be part of a mirrored aggregate and both plexes must be online. Prior to offlining a plex, the system will flush all internally-buffered data associated with the plex and create a snapshot that is written out to both plexes. The snapshot allows for efficient resynchronization when the plex is subsequently brought back online.
A number of operations being performed on the aggregate's traditional volume can prevent aggr offline from succeeding, for various lengths of time. If such operations are found, there will be a one-second wait for such operations to finish. If they do not, the command is aborted.
A check is also made for files in the aggregate's associated traditional volume opened by internal ONTAP processes. The command is aborted if any are found.
aggr online { aggrname | plexname }
[ -f ]
นำ aggrname ชื่อการรวม (หรือเพล็กซ์ที่มีชื่อ plexname) ออนไลน์ คำสั่งนี้จะมีผลทันที ถ้ารวมที่ระบุไว้จะถูกฝังอยู่ในปริมาณดั้งเดิมปริมาณนอกจากนี้ยังยังนำออนไลน์
หาก aggrname ที่ระบุไว้นั้นจะต้องได้ในปัจจุบันออฟไลน์, ถูก จำกัด , หรือต่างประเทศ ถ้ารวมเป็นต่างประเทศก็จะมีการทำพื้นเมืองก่อนที่จะถูกนำมาออนไลน์ รวม "ต่างชาติ" คือการรวมที่ประกอบด้วยดิสก์ย้ายจาก filer อื่นและที่ไม่เคยมีมาออนไลน์บน filer ปัจจุบัน มวลรวมที่ไม่ได้อยู่ต่างประเทศถือว่าเป็น "แม่."
หากรวมจะไม่สอดคล้องกัน แต่ยังไม่ได้สูญเสียข้อมูลที่ผู้ใช้จะได้รับการเตือนและแจ้งก่อนที่จะนำออนไลน์รวม F-ธงที่สามารถใช้เพื่อแทนที่ลักษณะการทำงานนี้ จะแนะนำให้ใช้ WAFL_check (หรือทำเริ่มต้น SnapMirror ในกรณีของการรวมที่ฝังอยู่ในไดรฟ์แบบดั้งเดิม) ก่อนที่จะนำออนไลน์รวมที่ไม่สอดคล้องกัน การนำออนไลน์รวมที่ไม่สอดคล้องกันเพิ่มความเสี่ยงของระบบไฟล์เสียหายต่อ หากรวมจะไม่สอดคล้องกันและมีประสบการณ์การสูญเสียเป็นไปได้ของข้อมูลก็ไม่สามารถนำออนไลน์จนกว่า WAFL_check (หรือ SnapMirror เริ่มต้นในกรณีที่ฝังตัวอยู่) ได้รับการทำงานในการรวม
หาก plexname การระบุเพล็กซ์จะต้องเป็นส่วนหนึ่งของการรวมมิเรอร์ออนไลน์ ระบบจะเริ่มต้นจาก resynchronization เพล็กซ์เป็นส่วนหนึ่งของการประมวลผลแบบออนไลน์
aggr ตัวเลือก aggrname [optname optval]
แสดงตัวเลือกที่ได้รับการตั้งค่าสำหรับ aggrname รวมหรือการตั้งค่าตัวเลือกที่มีชื่อของ optname aggrname ชื่อรวมเพื่อ optval มูลค่า คำสั่งยังคงมีผลหลังจากที่ filer เป็น rebooted จึงมีความจำเป็นต้องเพิ่มคำสั่งตัวเลือก aggr ไปยังแฟ้ม / etc / rc ไม่มี บางตัวเลือกที่มีค่าที่เป็นตัวเลข บางตัวเลือกมีค่าที่อาจจะอยู่ใน (ซึ่งนอกจากนี้ยังสามารถแสดงเป็นใช่ความจริงหรือ 1) หรือปิด (ซึ่งนอกจากนี้ยังสามารถแสดงเป็นไม่มีเท็จหรือ 0) ส่วนผสมของตัวอักษรตัวพิมพ์ใหญ่และพิมพ์เล็กสามารถนำมาใช้เมื่อพิมพ์ค่าของตัวเลือก คำสั่งสถานะ aggr จะแสดงตัวเลือกที่ถูกตั้งค่าต่อการรวม
ต่อไปนี้อธิบายถึงตัวเลือกและค่าที่เป็นไปได้:
fs_size_fixed on | off
This option only applies to aggregates that are embedded in traditional volumes. It causes the file system to remain the same size and not grow or shrink when a SnapMirrored volume relationship is broken, or an aggr add is performed on it. This option is automatically set to be on when a traditional volume becomes a SnapMirrored volume. It will remain on after the snapmirror break command is issued for the traditional volume. This allows a traditional volume to be SnapMirrored back to the source without needing to add disks to the source traditional volume. If the traditional volume size is larger than the file system size, turning off this option will force the file system to grow to the size of the traditional volume. The default setting is off .
ignore_inconsistent on | off
This command can only be used in maintenance mode. If this option is set, it allows the aggregate containing the root volume to be brought online on booting, even though it is inconsistent. The user is cautioned that bringing it online prior to running WAFL_check or wafliron may result in further file system inconsistency.
nosnap on | off
If this option is on , it disables automatic snapshots on the aggregate. The default setting is off .
raidsize number
The value of this option is the maximum size of a RAID group that can be created in the aggregate. Changing the value of this option will not cause existing RAID groups to grow or shrink; it will only affect whether more disks will be added to the last existing RAID group and how large new RAID groups will be.
ค่าทางกฎหมายสำหรับตัวเลือกนี้ขึ้นอยู่กับ raidtype ตัวอย่างเช่น raid_dp ช่วยให้ขนาดใหญ่กว่ากลุ่ม RAID raid4 ข้อ จำกัด และค่าเริ่มต้นยังแตกต่างกันสำหรับชนิดของเครื่องใช้ filer และชนิดที่แตกต่างกันของดิสก์ ตารางต่อไปนี้กำหนดขีด จำกัด และค่าเริ่มต้นสำหรับ raidsize
-------------- min เริ่มต้น raid4 raidsize สูงสุด -------------- R100 2 8 8 R150 2 6 6 2 7 FAS250 14 อื่น ๆ (ดิสก์ FCAL) 2 8 14 อื่น ๆ (ดิสก์ ATA) 2 7 7 ---------------------------- min เริ่มต้น raid_dp raidsize สูงสุด ------ -------- R100 3 12 12 R150 3 12 16 อื่น ๆ (ดิสก์ FCAL) 3 16 28 อื่น ๆ (ดิสก์ ATA) 3 14 16 ---------- ----
raidtype raid4 | raid_dp | raid0
Sets the type of RAID used to protect against disk failures. Use of raid4 provides one parity disk per RAID group, while raid_dp provides two. Changing this option immediately changes the RAID type of all RAID groups within the aggregate. When upgrading RAID groups from raid4 to raid_dp , each RAID group begins a reconstruction onto a spare disk allocated for the second `dparity' parity disk.
Changing this option also changes raidsize to a more suitable value for new raidtype . When upgrading from raid4 to raid_dp , raidsize will be increased to the default value for raid_dp . When downgrading from raid_dp to raid4 , raidsize will be decreased to the size of the largest existing RAID group if it is between the default value and the limit for raid4 . If the largest RAID group is above the limit for raid4 , the new raidsize will be that limit. If the largest RAID group is below the default value for raid4 , the new raidsize will be that default value. If raidsize is already below the default value for raid4 , it will be reduced by 1.
resyncsnaptime number
This option is used to set the mirror resynchronization snapshot frequency (in minutes). The default value is 60 minutes.
root
ถ้าตัวเลือกนี้ตั้งอยู่บนไดรฟ์แบบดั้งเดิมนั้นมีผลเหมือนกันกับที่กำหนดไว้ในฉบับ หน้าคน มิฉะนั้นถ้าตัวเลือกนี้ตั้งอยู่บนการรวมที่สามารถบรรจุไดรฟ์ที่มีความยืดหยุ่นแล้วรวมที่มีการทำเครื่องหมายว่าเป็นหนึ่งที่จะยังมีปริมาณรากที่มีความยืดหยุ่นในการรีบูตต่อไป ตัวเลือกนี้สามารถนำมาใช้ในปริมาณรวมหรือแบบดั้งเดิมเพียงหนึ่งในเวลาใดก็ตาม รวมรากที่มีอยู่หรือไดรฟ์แบบเดิมจะกลายเป็นองค์กรที่ไม่แสวงหารากหลังจากรีบูต
จนกว่าระบบจะ rebooted รวมเดิมและ / หรือแบบดั้งเดิมปริมาณจะยังคงแสดงรากเป็นหนึ่งในตัวเลือกของตนและการรวมรากใหม่หรือปริมาณดั้งเดิมจะแสดง diskroot เป็นตัวเลือก โดยทั่วไปการรวมที่มีตัวเลือกที่ diskroot เป็นหนึ่งที่จะมีรากในปริมาณที่มีความยืดหยุ่นต่อไปนี้การรีบูตต่อไป
วิธีเดียวที่จะลบสถานะรากของไดรฟ์รวมหรือแบบดั้งเดิมคือการตั้งค่าตัวเลือกรากบนไดรฟ์รวมหรือแบบอื่น
snaplock_compliance
นี้อ่านตัวเลือกเดียวแสดงให้เห็นว่าการรวมเป็นรวมตามมาตรฐาน SnapLock ขันธ์เท่านั้นที่สามารถกำหนดมวลรวมตามมาตรฐาน SnapLock เวลาการสร้าง
snaplock_enterprise
นี้อ่านตัวเลือกเดียวแสดงให้เห็นว่าการรวมเป็นองค์กรการรวม SnapLock ขันธ์เท่านั้นที่สามารถกำหนดมวลรวมขององค์กร SnapLock เวลาการสร้าง
snapmirrored ปิด
หากมีการเปิดใช้ SnapMirror สำหรับปริมาณดั้งเดิม (SnapMirror ไม่ได้รับการสนับสนุนสำหรับมวลรวมที่มีปริมาณความยืดหยุ่น), filer อัตโนมัติชุดตัวเลือกนี้เพื่อที่ ตั้งค่าตัวเลือกนี้เพื่อออกหาก SnapMirror ไม่มีที่จะใช้ในการปรับปรุงกระจกปริมาณดั้งเดิม หลังจากตั้งค่าตัวเลือกนี้เพื่อปิดกระจกจะกลายเป็นปกติปริมาณดั้งเดิมสามารถเขียนได้ ตัวเลือกนี้สามารถถูกตั้งค่าให้ปิดเฉพาะ filer สามารถเปลี่ยนค่าของตัวเลือกนี้ออกไปจากเมื่อ
snapshot_autodelete on | off
This option is used to set whether snapshot are automatically deleted in the aggr. If set to on then snapshots may be deleted in the aggr to recover storage as necessary. If set to off then snapshots in the aggr are not automatically deleted to recover storage. Note that snapshots may still be deleted for other reasons, such as maintaining the snapshot schedule for the aggr, or deleting snapshots that are associated with specific operations that no longer need the snapshot. To allow snapshots to be deleted in a timely manner the number of aggr snapshots is limited when snapshot_autodelete is enabled. Because of this, if there are too many snapshots in an aggr then some snapshots must be deleted before the snapshot_autodelete option can be enabled.
aggr rename aggrname newname
Renames the aggregate named aggrname to newname . If this aggregate is embedded in a traditional volume, then that volume's name is also changed.
aggr restrict aggrname
[ -t cifsdelaytime ]
Put the aggregate named aggrname in restricted state, starting from either online or offline state. The command takes effect before returning.
If the aggregate contains any flexible volumes, the operation is aborted unless the filer is in maintenance mode.
If the aggregate is embedded in a traditional volume that has CIFS shares, users should be warned before restricting the aggregate (and hence the entire traditional volume). Use the -t switch for this. The cifsdelaytime argument specifies the number of minutes to delay before taking the embedded aggregate offline, during which time CIFS users of the traditional volume are warned of the pending loss of service. A time of 0 means take the aggregate offline immediately with no warnings given. CIFS users can lose data if they are not given a chance to terminate applications gracefully.
aggr scrub resume [ aggrname | plexname | groupname ]
ขัด parity สมัครงานเกี่ยวกับการรวมชื่อ, เพล็กซ์หรือกลุ่ม ถ้าไม่มีชื่อจะได้รับกลับมาทุกกลุ่ม RAID ลังขัดความเท่าเทียมกันที่ได้รับการระงับ
เริ่มต้นที่ขัด aggr [aggrname | plexname | GroupName]
เริ่มต้นขัดความเท่าเทียมกันในการรวมออนไลน์ที่มีชื่อว่า ขัด Parity เปรียบเทียบดิสก์ข้อมูลไปยังดิสก์ parity (s) ในกลุ่ม RAID ของพวกเขาการแก้ไขเนื้อหาในดิสก์ parity ของเท่าที่จำเป็น ถ้าไม่มีชื่อที่จะให้ความเท่าเทียมกันขัดถูจะเริ่มต้นในการรวมตัวทางออนไลน์ทั้งหมด ถ้าชื่อรวมจะได้รับขัดจะเริ่มต้นในทุกกลุ่ม RAID ที่มีอยู่ในการรวม ถ้าชื่อเพล็กซ์จะได้รับขัดจะเริ่มต้นในทุกกลุ่ม RAID ที่มีอยู่ในเพล็กซ์
สถานะขัด aggr [aggrname | plexname | GroupName] [-V]
พิมพ์สถานะของความเท่าเทียมกันขัดกับการรวมชื่อ, เพล็กซ์หรือกลุ่มทุกกลุ่ม RAID ลังขัดเท่าเทียมกันถ้าไม่มีชื่อจะได้รับ สถานะรวมถึงเปอร์เซ็นต์ที่สมบูรณ์และขัดของสถานะที่ถูกระงับ
The -v flag displays the date and time at which the last full scrub completed along with the current status on the named aggregate, plex, or group; all RAID groups if no name is given.
aggr scrub stop [ aggrname | plexname | groupname ]
Stops parity scrubbing on the named aggregate, plex, or group; if no name is given, on all RAID groups currently undergoing a parity scrubbing.
aggr scrub suspend [ aggrname | plexname | groupname ]
Suspends parity scrubbing on the named aggregate, plex, or group; if no name is given, on all RAID groups currently undergoing parity scrubbing.
aggr show_space [ -h | -k | -m | -g | -t | -b ] < aggrname >
Displays the space usage in an aggregate. Unlike df, this command shows the space usage for each flexible volume within an aggregate If aggrname is specified, aggr show_space only runs on the corresponding aggregate, otherwise it reports space usage on all the aggregates.
All sizes are reported in 1024-byte blocks, unless otherwise requested by one of the -h , -k , -m , -g , or -t options. The -k, -m, -g, and -t options scale each size-related field of the output to be expressed in kilobytes, megabytes, gigabytes, or terabytes respectively.
The following terminology is used by the command in reporting space.
Total space This is the amount of total disk space that the aggregate has. WAFL reserve WAFL reserves a percentage of the total total disk space for aggregate level metadata. The space used for maintaining the volumes in the aggregate comes out of the WAFL reserve. Snap reserve Snap reserve is the amount of space reserved for aggregate snapshots. Usable space This is the total amount of space that is available to the aggregate for provisioning. This is computed as Usable space = Total space – WAFL reserve – Snap reserve df displays this as the 'total' space. BSR NVLOG This is valid for Synchronous SnapMirror destinations only. This is the amount of space used in the aggregate on the destination filer to store data sent from the source filer(s) before sending it to disk. Allocated This is the sum of the space reserved for the volume and the space used by non reserved data. For volume guaranteed volumes, this is at least the size of the volume since no data is unreserved. For volumes with space guarantee of none, this value is the same as the 'Used' space (explained below) since no unused space is reserved. The Allocated space value shows the amount of space that the volume is taking from the aggregate. This value can be greater than the size of the volume because it also includes the metadata required to maintain the volume. Used This is the amount of space that is taking up disk blocks. This value is not the same as the 'used' space displayed by the df command. The Used space in this case includes the metadata required to maintain the flexible volume. Avail Total amount of free space in the aggregate. This is the same as the avail space reported by df.
[ -r oldvol newvol ] [ -r ... ]
[ -s suffix ]
Removes plexname from a mirrored aggregate and creates a new unmirrored aggregate named aggrname that contains the plex. The original mirrored aggregate becomes unmirrored. The plex to be split from the original aggregate must be functional (not partial), but it could be inactive, resyncing, or outof-date. Aggr split can therefore be used to gain access to a plex that is not up to date with respect to its partner plex, if its partner plex is currently failed.
If the aggregate in which plexname resides is embedded in a traditional volume, aggr split behaves identically to vol split . The new aggregate is embedded in a new traditional volume of the same name.
If the aggregate in which plexname resides contains exactly one flexible volume, aggr split will by default rename the flexible volume image in the split-off plex to be the same as the new aggregate.
If the aggregate in which plexname resides contains more than one flexible volume, it is necessary to specify how to name the volumes in the new aggregate resulting from the split. The -r option can be used repeatedly to give each flexible volume in the resulting aggregate a new name. In addition, the -s option can be used to specify a suffix that is added to the end of all flexible volume names not covered by a -r .
If the original aggregate is restricted at the time of the split, the resulting aggregate will also be restricted. If the restricted aggregate is hosting flexible volumes, they are not renamed at the time of the split. Flexible volumes will be renamed later, when the name conflict is detected while bringing an aggregate online. Flexible volumes in the aggregate that is brought online first keep their names. That aggregate can be either the original aggregate, or the aggregate resulting from the split. When the other aggregate is brought online later, flexible volumes in that aggregate will be renamed.
If the plex of an aggregate embedded within a traditional volume is offline at the time of the split, the resulting aggregate will be offline. When splitting a plex from an aggregate that hosts flexible volumes, if that plex is offline, but the aggregate is online, the resulting aggregate will come online, and its flexible volumes will be renamed. It is not allowed to split a plex from an offline aggregate.
A split mirror can be joined back together via the -v option to aggr mirror .
aggr status [ aggrname ]
[ -r | -v | -d | -c | -b | -s | -f | -i ]
แสดงสถานะของหนึ่งหรือรวมทั้งหมดบน filer หาก aggrname จะใช้สถานะของการรวมที่กำหนดไว้จะถูกพิมพ์มิฉะนั้นสถานะของมวลรวมทั้งหมดใน filer จะพิมพ์ โดยค่าเริ่มต้นจะพิมพ์สรุปหนึ่งบรรทัดของการรวมซึ่งรวมถึงการรวมชื่อไม่ว่าจะมีปริมาณดั้งเดิมเดียวหรือจำนวนปริมาณที่มีความยืดหยุ่นบางอย่างถ้ามันเป็นออนไลน์หรือออฟไลน์รัฐอื่น ๆ (ตัวอย่างเช่นบางส่วนที่เสื่อมสภาพ, WAFL ที่ไม่สอดคล้องกันและอื่น ๆ ) และตัวเลือก peraggregate ตัวเลือกต่อการรวมจะปรากฏเฉพาะในกรณีที่ตัวเลือกมีการเปลี่ยนแปลงจากค่าเริ่มต้นของระบบโดยใช้คำสั่งตัวเลือก aggr หรือโดยคำสั่งฉบับตัวเลือกหากรวมจะถูกฝังอยู่ในปริมาณเดิม หากรัฐไม่สอดคล้อง WAFL จะแสดงกรุณาติดต่อฝ่ายบริการลูกค้า
-V ธงแสดงให้เห็นถึงการเปิด / ปิดของรัฐของทุก peraggregate ตัวเลือกและแสดงข้อมูลเกี่ยวกับปริมาณของแต่ละเพล็กซ์และกลุ่ม RAID ที่มีอยู่ในการรวม
ธง-R จะแสดงรายการของข้อมูลที่ RAID สำหรับการรวมว่า หาก aggrname ไม่มีการระบุจะพิมพ์ข้อมูลเกี่ยวกับ RAID มวลรวมทุกข้อมูลเกี่ยวกับดิสก์ระบบแฟ้มดิสก์สำรองและดิสก์ที่ล้มเหลว สำหรับข้อมูลเพิ่มเติมเกี่ยวกับดิสก์ที่ล้มเหลวให้ดู-F คำอธิบายสวิทช์ด้านล่าง
-d ธงแสดงข้อมูลเกี่ยวกับดิสก์ในการรวมที่ระบุ The types of disk information are the same as those from the sysconfig -d command.
The -c flag displays the upgrade status of the Block Checksums data integrity protection feature.
The -b is used to get the size of source and destination aggregates for use with aggr copy . The output contains the storage in the aggregate and the possibly smaller size of the aggregate. The aggregate copy command uses these numbers to determine if the source and destination aggregate sizes are compatible. The size of the source aggregate must be equal or smaller than the size of the destination aggregate.
The -s flag displays a listing of the spare disks on the filer.
The -f flag displays a list of the failed disks on the filer. The command output includes the disk failure reason which can be any of following:
The -i flag displays a list of the flexible volumes contained in an aggregate.
unknown Failure reason unknown. failed Data ONTAP failed disk due to a fatal disk error. admin failed User issued a 'disk fail' command for this disk. labeled broken Disk was failed under Data ONTAP 6.1.X or an earlier version. init failed Disk initialization sequence failed. admin removed User issued a 'disk remove' command for this disk. not responding Disk not responding to requests. pulled Disk was physically pulled, or no data path exists on which to access the disk. bypassed Disk was bypassed by ESH.
Undestroy a partially intact or previously destroyed aggregate or traditional volume. The command prints a list of candidate aggregates and traditional volumes matching the given name, which can be potentially undestroyed.
The -n option prints the list of disks contained by the aggregate or by the traditional volume, which can be potentially undestroyed. This option can be used to display the result of command execution, without actually making any changes.
aggr verify resume [ aggrname ]
Resumes RAID mirror verification on the named aggregate; if no aggregate name is given, on all aggregates currently undergoing a RAID mirror verification that has been suspended.
aggr verify start [ aggrname ] [ -f plexnumber ]
Starts RAID mirror verification on the named online mirrored aggregate. If no name is given, then RAID mirror verification is started on all online mirrored aggregates. Verification compares the data in both plexes of a mirrored aggregate. In the default case, all blocks that differ are logged, but no changes are made. If the -f flag is given, the plex specified is fixed to match the other plex when mismatches are found. A name must be specified with the -f plexnumber option.
aggr verify stop [ aggrname ]
Stops RAID mirror verification on the named aggregate; if no aggregate name is given, on all aggregates currently undergoing a RAID mirror verification.
aggr verify status [ aggrname ]
Prints the status of RAID mirror verification on the named aggregate; on all aggregates currently undergoing RAID mirror verification if no aggregate name is given. The status includes a percent-complete, and the verification's suspended status.
aggr verify suspend [ aggrname ]
Suspends RAID mirror verification on the named aggregate; if no aggregate name is given, on all aggregates currently undergoing RAID mirror verification.
CLUSTER CONSIDERATIONS
Aggregates on different filers in a cluster can have the same name. For example, both filers in a cluster can have an aggregate named aggr0 .แต่มีชื่อที่ไม่ซ้ำกันรวมอยู่ในกลุ่มทำให้ง่ายต่อการโอนย้ายระหว่างมวลรวม filers ในคลัสเตอร์
ตัวอย่าง
aggr สร้าง aggr1-R 10 20สร้างการรวมชื่อ aggr1 กับ 20 แผ่น กลุ่ม RAID ในการรวมนี้สามารถมีได้ถึง 10 แผ่นดังนั้นนี้รวมใหม่ที่มีสองกลุ่ม RAID filer เพิ่มดิสก์สำรองในปัจจุบันเพื่อการรวมใหม่ที่เริ่มต้นด้วยดิสก์ขนาดเล็กที่สุด
aggr สร้าง aggr1 20 @ 9
สร้างการรวมชื่อ aggr1 กับ 20 แผ่น 9-GB เนื่องจากยังไม่มีการขนาดกลุ่ม RAID ได้ระบุขนาดเริ่มต้น (8 แผ่น) จะใช้ รวมที่สร้างขึ้นใหม่ที่มีสองกลุ่ม RAID กับ 8 ดิสก์และกลุ่มที่สามกับสี่ดิสก์
aggr สร้าง aggr1-d 8a.1 8a.2 8a.3
สร้างการรวมชื่อ aggr1 กับที่ระบุไว้สามดิสก์
aggr สร้าง aggr1 10
aggr ตัวเลือก aggr1 raidsize 5
The first command creates an aggregate named aggr1 with 10 disks which belong to one RAID group. The second command specifies that if any disks are subsequently added to this aggregate, they will not cause any current RAID group to have more than five disks. Each existing RAID group will continue to have 10 disks and no more disks will be added to that RAID group. When new RAID groups are created, they will have a maximum size of five disks.
aggr show_space -h ag1
Displays the space usage of the aggregate `ag1′ and scales the unit of space according to the size.
Aggregate 'ag1′ Total space WAFL reserve Snap reserve Usable space BSR NVLOG 66GB 6797MB 611MB 59GB 65KB Space allocated to volumes in the aggregate Volume Allocated Used Guarantee vol1 14GB 11GB volume vol2 8861MB 8871MB file vol3 6161MB 6169MB none vol4 26GB 25GB volume vol1_clone 1028MB 1028MB (offline) Aggregate Allocated Used Avail Total space 55GB 51GB 3494MB Snap reserve 611MB 21MB 590MB WAFL reserve 6797MB 5480KB 6792MB
aggr status aggr1 -r
Displays the RAID information about aggregate aggr1 . In the following example, we see that aggr1 is a RAID-DP aggregate protected by block checksums. It is online, and all disks are operating normally. The aggregate contains four disks -two data disks, one parity disk, and one doubleparity disk. Two disks are located on adapter 0b, and two on adapter 1b. The disk shelf and bay numbers for each disk are indicated. All four disks are 10, 000 RPM FibreChannel disks attached via disk channel A. The disk "Pool" attribute is displayed only if SyncMirror is licensed, which is not the case here (if SyncMirror were licensed, Pool would be either 0 or 1). The amount of disk space that is used by Data ONTAP (“Used”) and is available on the disk (“Phys”) is displayed in the rightmost columns.
Aggr aggr1 (online, raid_dp) (block checksums) Plex /aggr1/plex0 (online, normal, active) RAID group /aggr1/plex0/rg0 (normal) RAID Disk Device HA SHELF BAY CHAN Pool Type RPM Used (MB/blks) Phys (MB/blks) ——— —— ————- —- —- —- —– ————– ————– dparity 0b.16 0b 1 0 FC:A – FCAL 10000 136000/278528000 137104/280790184 parity 1b.96 1b 6 0 FC:A – FCAL 10000 136000/278528000 139072/284820800 data 0b.17 0b 1 1 FC:A – FCAL 10000 136000/278528000 139072/284820800 data 1b.97 1b 6 1 FC:A – FCAL 10000 136000/278528000 139072/284820800
SEE ALSO
vol , partner , snapmirror , sysconfig .Copyright © 1994-2008 NetApp, Inc. Legal Information
based on 2 ratings








































