Lưu Trữ

Lưu trữ cho 'trang tay'

NetApp Man trang

07 tháng 7 năm 2009

NetApp have kindly given me permission to republish their man pages here. They still need a little tidying up, but the sheer quantity means it'll take me awhile to get them all sorted and cross-referenced properly, please excuse any visual issues for the moment. I wrote a quick parsing tool to get all the info on here, so there may be a few issues resulting from that still.

I've always liked the way that PHP have their function pages giving users the ability to comment directly onto them. This allows people to leave feedback on functions and tools, and also follow up with some extra uses or syntax for commands that aren't necessarily clearly published. Hopefully this can feed back into NetApp to improve their documentation.

I'd definitely like to encourage people to comment on the man pages with anything that may be useful, and hopefully build this into a useful little reference section. Many thanks again for the NetApp folk for helping me with this.

VN: F [1.9.11_1134]
Bầu chọn cho bài đăng này:
Rating: 8.8/ 10 (18 votes cast)

General , Manual Pages , , , ,

aggr

07 tháng 7 năm 2009

Mục lục

TÊN

aggr – commands for managing aggregates, displaying aggregate status, and copying aggregates

Tóm tắt

aggr command argument …

Mô tả

The aggr command family manages aggregates . The aggr commands can create new aggregates, destroy existing ones, undestroy previously destroyed aggregate, manage plexes within a mirrored aggregate, change aggregate status, apply options to an aggregate, copy one aggregate to another, and display their status. Aggregate commands often affect the volume(s) contained within aggregates.

Các gia đình aggr lệnh mới trong dữ liệu ONTAP 7.0. Các gia đình tập lệnh cung cấp kiểm soát truyền thống vol_ u mes hợp nhất một hệ thống tập tin duy nhất người dùng có thể nhìn thấy và một container RAID-lưu trữ duy nhất (tổng hợp) vào một đơn vị thể chia, và vẫn như thế. Để cho phép sử dụng linh hoạt hơn dung lượng lưu trữ, tập hợp hiện nay cũng hỗ trợ khả năng chứa nhiều hệ thống tập tin người sử dụng cấp độc lập có tên là linh hoạt khối lượng.

Dữ liệu ONTAP 7.0 hỗ trợ đầy đủ cả khối lượng truyền thống và linh hoạt. Các gia đình aggr lệnh là phương pháp ưa thích để quản lý một tập hợp của Filer, bao gồm cả những người được nhúng vào trong các khối lượng truyền thống.

Lưu ý rằng hầu hết các lệnh aggr áp dụng chung cho cả hai loại tổng hợp có chứa khối lượng linh hoạt và loại liên kết chặt chẽ để tạo thành một khối lượng truyền thống. Như vậy, tổng hạn thường được sử dụng ở đây để chỉ cả hai lớp lưu trữ. Trong những trường hợp, nó cung cấp một viết tắt cho lâu hơn và khó sử dụng hơn cụm từ "tập hợp và khối lượng truyền thống".

Uẩn hoặc có thể được nhân đôi hoặc unmirrored. Plex là một bản sao vật lý của lưu trữ WAFL trong tổng hợp. Một tập hợp được nhân đôi bao gồm hai plex, unmirrored uẩn chứa một plex duy nhất. Để tạo ra một tập hợp được nhân đôi, bạn phải có một cấu hình Filer hỗ trợ RAID cấp độ phản chiếu. Khi phản ánh được kích hoạt trên Filer, các đĩa dự phòng được chia thành hai hồ bơi đĩa. Khi một tổng hợp được tạo ra, tất cả các đĩa trong một plex duy nhất phải đến từ các hồ bơi cùng một đĩa, và hai plex của một tập hợp được nhân đôi phải bao gồm các ổ đĩa từ hồ bơi riêng biệt, vì điều này tối đa hóa sự cô lập lỗi. Chính sách này có thể được ghi đè với tùy chọn-f để aggr tạo, aggr thêmgương aggr, nhưng nó không được khuyến cáo.

Một tên tổng hợp có thể chứa các chữ cái, số, ký tự gạch dưới (_), nhưng ký tự đầu tiên phải là một lá thư hay gạch dưới. Tổng cộng lên đến 200 tập hợp (bao gồm cả những người được nhúng vào trong các khối lượng truyền thống) có thể được tạo ra trên mỗi Filer.

Một plex có thể được trực tuyến hoặc offline. Nếu nó vẫn chưa có mặt trong diễn đàn, nó không phải là có sẵn để đọc hoặc viết truy cập. Plex có thể được kết hợp của các tiểu bang sau đây:

bình thường Tất cả các nhóm RAID trong plex các chức năng.

không ít nhất một trong các nhóm RAID trong plex đã thất bại.

plex trống này là một phần của một tổng hợp đang được tạo ra, và một hoặc nhiều đĩa nhắm mục tiêu đến tổng hợp cần phải được zeroed trước khi được thêm vào để plex.

plex hoạt động có sẵn để sử dụng.

không hoạt động
Plex không có sẵn để sử dụng.

resyncing
Các nội dung của plex lỗi thời và đang trong quá trình được đồng bộ hóa lại với các nội dung của plex khác của cốt liệu (áp dụng đối với tập hợp được nhân đôi chỉ).

thêm đĩa
Đĩa đang được bổ sung vào plex RAID nhóm (s).

out-of-ngày
Trạng thái này chỉ xảy ra trong tập hợp phản ánh một trong những nơi của plex đã thất bại. Plex không thất bại sẽ được ở trạng thái này nếu nó cần thiết để đồng bộ hóa lại tại thời điểm plex khác không thành công.

Plex được đặt tên bằng cách sử dụng tên của tổng hợp, một dấu phân cách ký tự dấu gạch chéo, và tên của plex. Hệ thống sẽ tự động chọn tên plex thời gian sáng tạo. Ví dụ, plex đầu tiên được tạo ra trong aggr0 tổng hợp sẽ được aggr0/plex0.

Một tổng hợp có thể được trực tuyến, hạn chế, hoặc offline. Khi tổng hợp vẫn chưa có mặt trong diễn đàn, không đọc hoặc viết truy cập được cho phép. Khi một tổng hợp bị hạn chế, một số hoạt động cho phép (chẳng hạn như sao chép tổng hợp, recomputation chẵn lẻ, xây dựng lại RAID) nhưng không được phép truy cập dữ liệu. Uẩn không phải là một phần của một khối lượng truyền thống chỉ có thể được hạn chế hoặc offlined nếu chúng tôi không chứa bất kỳ khối lượng linh hoạt.

Uẩn có thể được kết hợp của các tiểu bang sau đây:

aggr tổng hợp là một tổng hợp hiện đại, nó có khả năng chứa số không hoặc nhiều tập linh hoạt .

sao chép
Tổng hợp hiện đang là mục tiêu tổng hợp của một hoạt động sao chép aggr hoạt động.

suy thoái
Tổng hợp có chứa ít nhất một nhóm RAID xuống cấp không được tái tạo.

nước ngoài
Các đĩa tổng hợp có chứa đã được chuyển đến Filer hiện tại từ Filer khác.

phát triển
Đĩa được trong quá trình được thêm vào tổng hợp.

khởi tạo
Tổng hợp là trong quá trình được khởi tạo.

không hợp lệ
Tổng hợp không chứa khối lượng và không ai có thể được thêm vào. Thông thường điều này xảy ra chỉ sau khi một hoạt động sao chép tổng hợp bị hủy bỏ.

ủi
Một kiểm tra tính nhất quán WAFL đang được thực hiện trên tổng hợp này.

gương suy thoái
Tổng hợp là một tập hợp được nhân đôi, và một trong những plex của nó vẫn chưa có mặt trong diễn đàn hoặc resyncing.

nhân đôi
Tổng hợp là được nhân đôi và tất cả các nhóm RAID của nó là chức năng.

nhu cầu kiểm tra
Kiểm tra tính nhất quán WAFL cần được thực hiện trên tổng hợp.

một phần
Đĩa ít nhất một đã được tìm thấy để tổng hợp, nhưng hai hoặc nhiều ổ đĩa là mất tích.

RAID0 tổng hợp bao gồm RAID-0 (không có tính chẵn lẻ) nhóm RAID (V-Series và NetCache chỉ).

RAID4 tổng hợp bao gồm các nhóm RAID RAID-4.

raid_dp
Tổng hợp bao gồm RAID-DP (Double Parity) nhóm RAID.

tái tạo lại
Ít nhất một nhóm RAID trong tổng hợp đang được xây dựng lại.

chuyển hướng
Tổng hợp phân bổ lại hoặc tái phân bổ tập tin với tùy chọn-p đã được bắt đầu vào tổng hợp. Hiệu suất đọc khối lượng trong tổng hợp có thể bị suy thoái.

resyncing
Một trong những plex của một tập hợp được nhân đôi đang được đồng bộ hóa lại.

snapmirrored
Tổng hợp là một bản sao snapmirrored của cốt liệu khác. Điều này nhà nước chỉ có thể phát sinh nếu tổng hợp là một phần của một khối lượng truyền thống.

trad tổng hợp được hợp nhất với một khối duy nhất. Điều này cũng được gọi là một khối lượng truyền thống và chính xác tương đương với khối lượng đã tồn tại trước khi dữ liệu ONTAP 7.0. Khối lượng linh hoạt không có thể được tạo ra bên trong của tập hợp này.

xác minh
Gương RAID hoạt động xác minh hiện đang được chạy trên tổng hợp.

wafl không phù hợp
Tổng hợp đã được đánh dấu bị hỏng. Xin vui lòng liên hệ với bộ phận Hỗ trợ Khách hàng nếu bạn thấy một tổng hợp ở trạng thái này.

SỬ DỤNG

Các lệnh sau đây có sẵn trong bộ phần mềm aggr :

  thêm gương hạn chế undestroy bản sao chưa có mặt trong diễn đàn chà xác minh tạo show_space trực tuyến phá hủy tùy chọn chia media_scrub tình trạng đổi tên 

aggr thêm aggrname
[-F]
[-N]
[-G {raidgroup | mới | tất cả}]
{Ndisks [@ size]
|
-D disk1 [disk2 ... ] [-D diskn diskn 1 ... ]]}

Thêm đĩa aggrname tên là tổng hợp. Chỉ định các ổ đĩa trong cùng một cách như đối với các lệnh aggr tạo . Nếu tổng hợp là được nhân đôi, sau đó đối số-d phải được sử dụng hai lần (nếu có) .

Nếu không được sử dụng tùy chọn-g, ổ đĩa được thêm vào gần đây nhất là tạo ra RAID nhóm util nó là đầy đủ, và sau đó một hoặc nhiều nhóm RAID mới được tạo ra và các đĩa còn lại được bổ sung vào nhóm mới . Bất kỳ nhóm hiện có RAID khác không đầy đủ vẫn còn một phần được làm đầy.

G tùy chọn cho phép đặc điểm kỹ thuật của một nhóm RAID (ví dụ, rg0) mà các ổ đĩa được chỉ dẫn nên được thêm vào, hoặc một phương pháp mà theo đó các đĩa được thêm vào nhóm RAID mới hoặc hiện tại.

Nếu tùy chọn-g được sử dụng để xác định nhóm RAID, nhóm RAID đã phải tồn tại. Các đĩa được thêm vào đó util nhóm RAID nó là đầy đủ. Các đĩa còn lại được bỏ qua.

Nếu tùy chọn của g-Tiếp theo mới, dữ liệu ONTAP tạo ra một hoặc nhiều nhóm RAID mới và bổ sung thêm các đĩa cho họ, ngay cả khi các đĩa sẽ phù hợp với một nhóm RAID hiện có. Bất kỳ nhóm RAID hiện tại chưa đầy một phần vẫn còn đầy. Tên của các nhóm RAID mới được chọn tự động. Nó không phải là có thể xác định tên cho các nhóm RAID mới.

Nếu tùy chọn g-Tiếp theo là tất cả, dữ liệu ONTAP thêm các ổ đĩa được chỉ định cho các nhóm RAID hiện đầu tiên . Sau khi tất cả các nhóm RAID hiện tại có đầy đủ, nó tạo ra một hoặc nhiều nhóm RAID mới và bổ sung thêm các ổ đĩa được chỉ định cho các nhóm mới.

Tùy chọn-n có thể được sử dụng để hiển thị các lệnh hệ thống sẽ thực hiện, mà không thực sự thực hiện bất kỳ thay đổi. Điều này rất hữu ích để hiển thị các ổ đĩa sẽ tự động lựa chọn, ví dụ.

Theo mặc định, Filer đầy lên một nhóm RAID với các ổ đĩa trước khi bắt đầu một nhóm RAID. Giả sử tổng hợp một hiện có một nhóm RAID 12 ổ đĩa và RAID nhóm kích thước của nó là 14. Nếu bạn thêm 5 đĩa để tổng hợp này, nó sẽ có một nhóm RAID với 14 ổ đĩa và một nhóm khác RAID với 3 đĩa. Các Filer không đồng đều phân phối đĩa giữa các nhóm RAID.

Bạn không thể thêm đĩa để một tập hợp được nhân đôi nếu một trong các plex vẫn chưa có mặt trong diễn đàn.

Các ổ đĩa trong một plex không được phép để mở rộng các hồ bơi đĩa. Hành vi này có thể được ghi đè với cờ-f khi sử dụng cùng với d-đối số vào danh sách các ổ đĩa thêm. -F cờ, kết hợp với-d, cũng có thể được sử dụng để lực lượng bổ sung thêm ổ đĩa có tốc độ quay không phù hợp của phần lớn các ổ đĩa hiện có trong tổng hợp .

aggr bản sao hủy bỏ [-h] operation_number | tất cả

Chấm dứt hoạt động sao chép tổng hợp. Opera_ t ion_number tham số quy định cụ thể hoạt động để chấm dứt. Nếu bạn chỉ định tất cả, tất cả các hoạt động sao chép tổng hợp chấm dứt hoạt động.

aggr sao chép Start
[-S |-s ảnh chụp] [C]
điểm đến nguồn

Bản sao tất cả các dữ liệu, bao gồm cả ảnh chụp nhanh và khối lượng linh hoạt, từ một tổng hợp khác. Nếu lá cờ S-được sử dụng, các lệnh sao chép tất cả các bức ảnh chụp trong tổng nguồn tổng hợp đích . Để xác định một ảnh chụp cụ thể để sao chép, sử dụng cờ-s theo sau là tên của ảnh chụp . Nếu bạn sử dụng không phải S cũng không phải lá cờ trong lệnh, Filer tạo ra một ảnh chụp tại thời điểm bản sao aggr lệnh bắt đầu được thực hiện và bản sao chỉ có ảnh chụp nhanh để tổng hợp đích .

-C cờ là cần thiết nếu các nguồn tổng hợp có chống phân mảnh không gian tự do thực hiện trên nó, hoặc nếu tổng điểm đến sẽ là không gian tự do phân mảnh. Chống phân mảnh miễn phí không gian có thể được thực hiện trên một tổng hợp bằng cách sử dụng lệnh tái phân bổ.

Bản tổng hợp chỉ có thể được thực hiện giữa các cốt liệu lưu trữ khối lượng linh hoạt. Uẩn được nhúng vào trong các khối lượng truyền thống không thể tham gia.

Tập hợp nguồn và đích có thể được trên Filer hoặc filers khác nhau. Nếu nguồn hoặc tổng hợp đích là một Filer khác so với cái mà bạn nhập vào lệnh aggr bắt đầu sao chép, xác định tên tổng hợp trong filer_name: aggre_ g ate_name định dạng .

Các filers tham gia trong một bản sao tổng hợp phải đáp ứng các yêu cầu sau đây đối với lệnh aggr bắt đầu sao chép được hoàn tất thành công:

Tổng nguồn phải được trực tuyến và tổng đích phải được hạn chế.

Nếu bản sao giữa hai filers, Filer phải được định nghĩa như một máy chủ đáng tin cậy của Filer khác. Đó là, tên của Filer phải ở trong / etc / hosts.equiv tập tin của Filer khác .

Nếu bản sao trên cùng một Filer, localhost phải được bao gồm trong etc / Filer / hosts.equiv tập tin . Ngoài ra, địa chỉ loopback phải ở trong etc / file của Filer / hosts . Nếu không, Filer không thể gửi các gói tin đến chính nó thông qua địa chỉ loopback khi cố gắng sao chép dữ liệu.

Các không gian đĩa có thể sử dụng tổng hợp đích phải lớn hơn hoặc bằng không gian đĩa có thể sử dụng tổng hợp nguồn. Sử dụng df-tên đường dẫn lệnh để xem số lượng không gian đĩa có thể sử dụng một tập hợp cụ thể.

Mỗi bản sao lệnh bắt đầu aggr tạo ra hai hoạt động sao chép tổng hợp: một cho đọc dữ liệu từ tổng nguồn và một cho ghi dữ liệu vào tổng điểm đến. Filer Mỗi hỗ trợ lên đến bốn hoạt động sao chép đồng thời tổng hợp.

aggr bản sao tình trạng operation_number

Hiển thị sự tiến bộ của một hoặc tất cả các hoạt động sao chép aggr. Các hoạt động được đánh số từ 0 đến 3.

Khởi động lại trạm kiểm soát thông tin cho tất cả các chuyển cũng được hiển thị.

aggr bản sao tăng tốc [operation_number] giá trị

Điều khiển việc thực hiện các hoạt động sao chép aggr . Giá trị dao động từ 10 (tốc độ đầy đủ) đến 1 (một phần mười tốc độ tối đa) . Giá trị mặc ​​định được duy trì trong tùy chọn aggr.copy.throttle của Filer và thiết lập 10 (tốc độ đầy đủ) tại nhà máy . Bạn có thể áp dụng các giá trị thực hiện một hoạt động theo quy định của tham số operation_number. Nếu bạn không chỉ định một số hoạt động trong lệnh aggr tăng tốc sao chép, lệnh này áp dụng cho tất cả các hoạt động sao chép aggr.

Sử dụng lệnh này để hạn chế tốc độ của hoạt động sao chép aggr nếu bạn nghi ngờ rằng hoạt động sao chép aggr là gây ra vấn đề hiệu suất trên Filer của bạn. Đặc biệt, tăng tốc được thiết kế để giúp hạn chế việc sử dụng CPU của hoạt động sao chép aggr . Nó không thể được sử dụng để mô hình mạng lưới tiêu thụ băng thông điều chỉnh.

Bản sao aggr tăng tốc lệnh chỉ cho phép bạn thiết lập tốc độ của một hoạt động sao chép aggr là trong tiến trình . Để thiết lập tốc độ aggr sao chép mặc định được sử dụng bởi các hoạt động sao chép trong tương lai, sử dụng lệnh tùy chọn để thiết lập tùy chọn aggr.copy.throttle.

aggr tạo aggrname
[-F]
[M]
[-N]
[-T raidtype]
[-R raidsize]
[-T đĩa loại]
[-R rpm]
[-L [tuân thủ | doanh nghiệp]]
[V]
[-L mã ngôn ngữ]
{Ndisks [@ size]

|
-D disk1 [disk2 ... ] [-D diskn diskn 1 ... ]]}

Tạo một aggrname tổng hợp mới có tên là. Tên tổng hợp có thể chứa các chữ cái, số và ký tự gạch dưới (_), nhưng ký tự đầu tiên phải là một lá thư hay gạch dưới. Lên đến 200 uẩn có thể được tạo ra trên mỗi Filer. Con số này bao gồm những tập hợp được nhúng vào trong các khối lượng truyền thống.

Một tổng hợp nhúng có thể được tạo ra như là một phần của một khối lượng truyền thống bằng cách sử dụng tùy chọn-v. Nó không thể chứa bất kỳ khối lượng linh hoạt.

Một tổng hợp thường xuyên, tạo ra mà không có tùy chọn-v, chỉ có thể chứa số lượng linh hoạt. Nó không thể được kết hợp thành một khối lượng truyền thống, và nó không chứa khối lượng ngay lập tức sau khi tạo. Khối lượng, linh hoạt có thể được tạo ra bằng cách sử dụng các lệnh tạo ra vol.

Raidtype-t đối số quy định cụ thể các loại RAID nhóm (s) được sử dụng để tạo ra các tổng hợp. Các loại RAID nhóm có thể là RAID4 cho RAID-4, raid_dp RAID-DP (Double Parity), và RAID0 phân chia đơn giản mà không cần bảo vệ tính chẵn lẻ . Raidtype mặc định cho tập hợp và khối lượng truyền thống trên filers raid_dp . Thiết lập raidtype là không được phép trên hệ thống V-Series, mặc định của RAID0 là luôn luôn được sử dụng.

-R raidsize đối số quy định cụ thể số lượng tối đa của ổ đĩa trong mỗi nhóm RAID trong tổng hợp. Các giá trị tối đa và mặc định của raidsize phụ thuộc vào nền tảng, trên cơ sở cân nhắc hiệu suất và độ tin cậy. Xem tùy chọn aggr raidsize để biết thêm chi tiết .

-T đối số loại đĩa quy định cụ thể các loại đĩa để sử dụng khi tạo ra một tập hợp mới. Nó chỉ cần thiết trên các hệ thống kết nối với đĩa các loại khác nhau. Các loại đĩa có thể là: ATA, FCAL, LUN, SAS, SATA,SCSI. Đĩa pha trộn của các loại khác nhau trong một tổng hợp không được phép-T. Không có thể được sử dụng cùng với-d.

Loại đĩa xác định công nghệ đĩa và loại kết nối ATA xác định các ổ đĩa ATA với một trong hai IDE hoặc giao diện ATA nối tiếp trong kệ kết nối trong FCAL (Fibre Channel phân xử Loop). FCAL xác định các ổ đĩa FC kệ kết nối FC-AL.. LUN xác định các ổ đĩa ảo xuất khẩu từ mảng lưu trữ bên ngoài. Công nghệ ổ đĩa cơ bản và loại RAID phụ thuộc vào việc thực hiện các mảng lưu trữ bên ngoài đó SAS xác định Serial Attached SCSI trong kệ phù hợp và SATA xác định các ổ đĩa ATA nối tiếp trong kệ SAS SCSI là viết tắt của Giao diện hệ thống máy tính nhỏ, và nó được bao gồm cho tính tương thích ngược với công nghệ đĩa trước đó.

-R rpm đối số quy định cụ thể các loại đĩa để sử dụng dựa trên tốc độ quay vòng mỗi phút ( rpm). Nó chỉ cần thiết trên các hệ thống có ổ đĩa với tốc độ quay khác nhau. Giá trị tiêu biểu cho tốc độ quay là 5400, 7200, 10000, và 15000-R không thể được sử dụng cùng với-d .

ndisks là số của đĩa trong tổng hợp, bao gồm các đĩa chẵn lẻ. Đĩa tổng hợp này mới được tạo ra từ các hồ bơi đĩa phụ tùng. Các đĩa nhỏ nhất trong hồ bơi này tham gia tổng hợp đầu tiên, trừ khi bạn xác định các tham số kích thước @ size kích thước là kích thước đĩa trong GB, và ổ đĩa trong vòng 10% của kích thước quy định sẽ được lựa chọn để sử dụng trong tổng hợp.

Tùy chọn-m có thể được sử dụng để xác định rằng tổng hợp mới được nhân đôi (có hai plex) khi tạo. Nếu tùy chọn này được đưa ra, sau đó các đĩa chỉ định sẽ được phân chia qua hai plex. Theo mặc định, tổng hợp mới sẽ không được nhân đôi.

Tùy chọn-n có thể được sử dụng để hiển thị các lệnh hệ thống sẽ thực hiện, mà không thực sự thực hiện bất kỳ thay đổi. Điều này rất hữu ích để hiển thị các ổ đĩa sẽ tự động lựa chọn, ví dụ.

Nếu bạn sử dụng các-d disk1 [disk2 ... ] Lập luận, Filer tạo ra tổng hợp với các đĩa kiện quy định disk1, disk2, và như vậy . Bạn có thể chỉ định một danh sách cách nhau không gian tên đĩa. Hai danh sách riêng biệt phải được quy định cụ thể nếu tổng hợp mới được nhân đôi. Trong trường hợp đó tổng hợp mới là nhân đôi, các ổ đĩa chỉ định phải kết quả trong một số lượng tương đương của các ổ đĩa trên mỗi plex mới.

Các ổ đĩa trong một plex không được phép để mở rộng các hồ bơi phụ tùng. Hành vi này có thể được ghi đè với tùy chọn-f . Các tùy chọn tương tự cũng có thể được sử dụng để lực lượng sử dụng đĩa không có phù hợp với tốc độ quay. Tùy chọn-f có tác dụng chỉ khi được sử dụng với tùy chọn-d quy định cụ thể các ổ đĩa để sử dụng .

Để tạo ra một tập hợp SnapLock, quy định cụ thể L-cờ với các aggr tạo lệnh. Cờ này chỉ được hỗ trợ nếu một trong hai SnapLock tuân thủ hoặc SnapLock doanh nghiệp được cấp phép. Các loại tổng SnapLock tạo ra, hoặc tuân thủ hoặc doanh nghiệp, được xác định bởi giấy phép SnapLock được cài đặt. Nếu cả hai tuân thủ SnapLockSnapLock doanh nghiệp được cấp phép, sử dụng-L tuân thủ hoặc-L doanh nghiệp để xác định loại tổng hợp mong muốn.

-L đối số language_code có thể chỉ được sử dụng khi tạo ra một khối lượng truyền thống bằng cách sử dụng tùy chọn- v. Filer tạo ra khối lượng truyền thống với các ngôn ngữ theo quy định của mã ngôn ngữ. Mặc định là ngôn ngữ được sử dụng theo thể tích gốc của Filer. Xem các vol người đàn ông trang cho một danh sách các mã ngôn ngữ.

aggr phá hủy aggrname | plexname} [-f]

Phá hủy aggrname tên là tổng hợp, hoặc plexname tên là plex. Lưu ý rằng nếu tổng hợp được chỉ định gắn liền với một khối lượng truyền thống, sau đó khối lượng truyền thống bị phá hủy cũng.

Nếu tổng hợp được quy định cụ thể, tất cả các plex trong tổng hợp bị phá hủy. Tổng hợp danh phải không chứa bất kỳ khối lượng linh hoạt, bất kể của nhà nước gắn kết của họ (trực tuyến, hạn chế, hoặc offline). Nếu plex được quy định cụ thể, plex là bị phá hủy, để lại một khối lượng unmirrored tổng hợp hoặc truyền thống có chứa các plex còn lại. Trước khi phá hủy khối lượng, tổng hợp truyền thống hoặc plex, người dùng được nhắc nhở để xác nhận hoạt động. -F cờ có thể được sử dụng để phá hủy một khối lượng, tổng hợp truyền thống hoặc plex mà không khiến người sử dụng.

Các đĩa ban đầu trong đối tượng bị phá hủy trở thành đĩa dự phòng. Chỉ uẩn chưa có mặt trong diễn đàn, khối lượng truyền thống và plex có thể bị phá hủy.

aggr media_scrub tình trạng aggrname | plexname | groupname]
[V]

In tình trạng chà phương tiện truyền thông tổng hợp có tên, plex, hoặc nhóm. Nếu không có tên được đưa ra, sau đó tình trạng được in cho tất cả các nhóm RAID hiện đang chạy một chà phương tiện truyền thông. Tình trạng này bao gồm một phần trăm hoàn thành và cho dù đó là bị đình chỉ.

V-cờ hiển thị ngày tháng và thời gian mà tại đó các phương tiện thông tin đầy đủ nhất chà hoàn thành, ngày và thời gian mà tại đó các trường hợp hiện tại của các phương tiện truyền thông chà bắt đầu, và tình trạng hiện tại của tổng hợp có tên, plex, hoặc nhóm. Nếu không có tên được đưa ra, tình trạng này chi tiết hơn được in cho tất cả các nhóm RAID với các phương tiện truyền thông hoạt động tẩy tế bào chết.

aggr gương aggrname
[-F]
[-N]
[-V victim_aggrname]
[-D disk1 [disk2 ... ]]

Hóa tổng hợp unmirrored vào một tập hợp được nhân đôi bằng cách thêm một plex với nó. Plex là một trong hai mới được hình thành từ các đĩa được lựa chọn từ một hồ bơi phụ tùng, hoặc, nếu tùy chọn-v được quy định cụ thể, được lấy từ một tổng hợp unmirrored khác hiện có. Tổng aggrname hiện phải được unmirrored. Sử dụng aggr tạo ra để làm cho một mới, phản ánh tổng hợp từ đầu.

Đĩa có thể được xác định một cách rõ ràng bằng cách sử dụng-d trong cùng một cách như với các lệnh tạo aggr và aggr thêm. Số lượng đĩa được chỉ định phải phù hợp với số lượng hiện tại trên tổng hợp hiện có. Các đĩa quy định không được phép để mở rộng các hồ bơi đĩa. Hành vi này có thể được ghi đè với tùy chọn-f . -F tùy chọn, kết hợp với-d, cũng có thể được sử dụng để lực lượng sử dụng đĩa có tốc độ quay không phù hợp của phần lớn các ổ đĩa hiện có trong tổng hợp .

Nếu đĩa không quy định một cách rõ ràng, sau đó đĩa sẽ được tự động lựa chọn để phù hợp với những người trong plex hiện có của tổng hợp.

Tùy chọn-v có thể được sử dụng để tham gia victim_aggrname trở lại vào aggrname để tạo thành một tập hợp được nhân đôi. Kết quả là một nhân đôi aggrname tên là tổng hợp mà nếu không giống nhau aggrname trước khi Victim_aggrname hoạt động có hiệu quả bị phá hủy Victim_aggrname phải có được nhân đôi với aggrname, sau đó tách ra thông qua lệnh chia aggr. Victim_aggrname phải được diễn đàn. Kết hợp với tùy chọn-v, tùy chọn-f có thể được sử dụng để tham gia aggrname và vic_ im_aggrname t mà không khiến người sử dụng.

Tùy chọn-n có thể được sử dụng để hiển thị các lệnh hệ thống sẽ thực hiện mà không thực sự thực hiện bất kỳ thay đổi. Điều này rất hữu ích để hiển thị các ổ đĩa sẽ tự động lựa chọn, ví dụ.

aggr mặt trong diễn đàn {aggrname | plexname}
[-T cifsdelaytime]

Mất tên là aggrname tổng hợp (hoặc plex tên là plexname) chưa có mặt trong diễn đàn. Lệnh này có hiệu lực trước khi trở về. Nếu tổng hợp đã có trong nhà nước bị hạn chế, sau đó nó đã không có sẵn để truy cập dữ liệu, và nhiều của các mô tả sau đây không áp dụng.

Nếu tổng hợp có chứa bất kỳ khối lượng linh hoạt, sau đó hoạt động bị hủy bỏ, trừ khi Filer là trong chế độ bảo trì.

Ngoại trừ trong chế độ bảo trì, tổng hợp có chứa khối lượng gốc hiện tại có thể không được thực hiện offline. Một tổng hợp có chứa một khối lượng đã được đánh dấu để trở thành root (bằng cách sử dụng vol tùy chọn vol_ n ame root) cũng không thể được thực hiện offline.

Nếu tổng hợp được nhúng vào trong một thể tích truyền thống có CIFS cổ phiếu, người dùng cần được cảnh báo trước khi tổng hợp (và do đó toàn bộ khối lượng truyền thống) chưa có mặt trong diễn đàn. -T cho điều này. Cifsdelaytime đối số quy định cụ thể số phút chậm trễ trước khi tham gia các diễn đàn tổng hợp nhúng, trong thời gian đó CIFS người sử dụng khối lượng truyền thống được cảnh báo về sự mất mát đang chờ xử lý của dịch vụ. Một thời gian từ 0 có nghĩa là các diễn đàn tổng hợp ngay lập tức mà không có cảnh báo được đưa ra. CIFS người dùng có thể bị mất dữ liệu nếu họ không đưa ra một cơ hội để chấm dứt các ứng dụng một cách duyên dáng.

Nếu plexname được quy định cụ thể, plex phải là một phần của một tập hợp được nhân đôi và cả hai plex phải được trực tuyến. Trước khi offlining một plex, hệ thống sẽ tuôn ra tất cả các dữ liệu nội bộ đệm liên quan với plex và tạo ra một ảnh chụp được viết ra cho cả hai plex. Ảnh chụp cho phép resynchronization hiệu quả khi plex sau đó được đưa trở lại trực tuyến.

Một số hoạt động đang được thực hiện về khối lượng truyền thống tổng hợp có thể ngăn chặn aggr chưa có mặt trong diễn đàn thành công, cho độ dài khác nhau của thời gian . Nếu các hoạt động đó được tìm thấy, sẽ có một chờ đợi một giây cho các hoạt động như vậy để kết thúc. Nếu họ không, lệnh hủy bỏ.

Kiểm tra cũng được làm cho các tập tin khối lượng truyền thống tổng hợp liên quan đến mở bởi các quy trình ONTAP nội bộ. Lệnh bị hủy bỏ nếu có được tìm thấy.

aggr trực tuyến {aggrname | plexname}
[-F]

Mang lại aggrname tên là tổng hợp (hoặc plex tên plexname) trực tuyến . Lệnh này có hiệu lực thi hành ngay lập tức. Nếu tổng hợp cụ thể được nhúng vào trong một khối lượng truyền thống, khối lượng cũng mang lại trực tuyến.

Nếu aggrname được quy định cụ thể, nó phải được hiện nay chưa có mặt trong diễn đàn, hạn chế, hoặc nước ngoài. Nếu tổng hợp là nước ngoài, nó sẽ được thực hiện bản địa trước khi được đưa ra trực tuyến. Một tổng hợp "nước ngoài" là một tổng hợp bao gồm các ổ đĩa di chuyển từ Filer khác và điều đó chưa bao giờ được đưa ra trực tuyến trên Filer hiện tại. Uẩn mà không nước ngoài được coi là "bản địa".

Nếu tổng hợp là không phù hợp, nhưng đã không bị mất dữ liệu, người dùng sẽ được cảnh báo và nhắc nhở trước khi đưa trực tuyến tổng hợp. -F cờ có thể được sử dụng để ghi đè lên hành vi này . Đó là khuyến khích để chạy WAFL_check (hoặc làm một khởi tạo SnapMirror trong trường hợp của một tổng hợp nhúng trong một thể tích truyền thống) trước khi đưa trực tuyến tổng hợp không phù hợp. Đưa trực tuyến tổng hợp không phù hợp làm tăng nguy cơ tham nhũng hệ thống tập tin. Nếu tổng hợp là không phù hợp và có kinh nghiệm có thể mất dữ liệu, nó có thể không được đưa trực tuyến, trừ khi WAFL_check (hoặc SnapMirror khởi tạo trong trường hợp nhúng) đã được chạy trên tổng hợp.

Nếu plexname được quy định cụ thể, plex phải là một phần của một tổng hợp phản ánh trực tuyến. Hệ thống sẽ khởi resynchronization của plex như là một phần của xử lý trực tuyến.

aggr tùy chọn aggrname [optname optval]

Hiển thị các tùy chọn đã được thiết lập cho aggrname tổng hợp, hoặc thiết lập các tùy chọn có tên optname aggrname tên là tổng hợp với optval giá trị . Lệnh vẫn có hiệu lực sau khi Filer là khởi động lại, do đó không cần phải thêm lệnh aggr lựa chọn các tập tin / etc / rc. Một số tùy chọn có giá trị là những con số. Một số tùy chọn có giá trị có thể được (mà cũng có thể được thể hiện là có, đúng sự thật, hoặc 1) hoặc tắt (mà cũng có thể được thể hiện như không có sai lầm, hoặc 0). Một hỗn hợp của các ký tự chữ hoa và chữ thường có thể được sử dụng khi gõ giá trị của một tùy chọn. Lệnh tình trạng aggr hiển thị các tùy chọn được thiết lập cho mỗi tổng hợp.

Dưới đây mô tả các tùy chọn và giá trị có thể của họ:

fs_size_fixed trên | off

Tùy chọn này chỉ áp dụng đối với các uẩn được nhúng vào trong các khối lượng truyền thống. Nó gây ra các hệ thống tập tin vẫn có cùng kích thước và không phát triển hoặc thu nhỏ khi một mối quan hệ SnapMirrored khối lượng là bị hỏng, hoặc một add aggr được thực hiện trên nó. Tùy chọn này được tự động thiết lập để được vào khi một khối lượng truyền thống trở thành một khối lượng SnapMirrored. Nó sẽ vẫn còn trên sau khi lệnh SnapMirror phá vỡ được cấp cho khối lượng truyền thống . Điều này cho phép một khối lượng truyền thống được SnapMirrored lại nguồn mà không cần phải thêm đĩa với khối lượng nguồn truyền thống. Nếu kích thước khối lượng truyền thống là lớn hơn kích thước hệ thống tập tin, tắt tùy chọn này sẽ buộc hệ thống tập tin để phát triển đến kích thước của khối lượng truyền thống. Các thiết lập mặc định là tắt.

ignore_inconsistent trên | off

Lệnh này chỉ có thể được sử dụng trong chế độ bảo trì. Nếu tùy chọn này được thiết lập, nó cho phép tổng hợp có chứa khối lượng gốc được đưa trực tuyến trên khả năng khởi động, mặc dù nó không phù hợp. Người dùng được cảnh báo rằng việc đưa nó trực tuyến trước khi chạy WAFL_check hoặc wafliron có thể dẫn đến sự không nhất quán hơn nữa hệ thống tập tin.

nosnap trên | off

Nếu tùy chọn này, nó vô hiệu hóa các bức ảnh chụp tự động trên tổng hợp . Các thiết lập mặc định là tắt.

raidsize số

Giá trị của tùy chọn này là kích thước tối đa của một nhóm RAID có thể được tạo ra trong tổng hợp. Thay đổi giá trị của tùy chọn này sẽ không gây ra các nhóm RAID hiện có để phát triển hoặc thu nhỏ, nó sẽ chỉ ảnh hưởng cho dù các ổ đĩa sẽ được thêm vào nhóm RAID mới nhất hiện có và lớn nhóm RAID mới sẽ được.

Giá trị pháp lý cho các tùy chọn này phụ thuộc vào raidtype . Ví dụ, raid_dp cho phép các nhóm RAID lớn hơn RAID4 . Giới hạn và giá trị mặc định cũng khác nhau cho các loại khác nhau của các thiết bị Filer và các loại khác nhau của đĩa. Các bảng sau đây xác định các giới hạn và giá trị mặc ​​định cho raidsize .

  —————————————— raid4 raidsize min default max —————————————— R100 2 8 8 R150 2 6 6 FAS250 2 7 14 other (FCAL disks) 2 8 14 other (ATA disks) 2 7 7 —————————————— —————————————— raid_dp raidsize min default max —————————————— R100 3 12 12 R150 3 12 16 other (FCAL disks) 3 16 28 other (ATA disks) 3 14 16 —————————————— 

Those values may change in future releases of Data ONTAP.

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

If this option is set on a traditional volume, then the effect is identical as that defined in vol man page. Otherwise, if this option is set on an aggregate capable of containing flexible volumes, then that aggregate is marked as being the one that will also contains the root flexible volume on the next reboot. This option can be used on only one aggregate or traditional volume at any given time. The existing root aggregate or traditional volume will become a non-root entity after the reboot.

Until the system is rebooted, the original aggregate and/or traditional volume will continue to show root as one of its options, and the new root aggregate or traditional volume will show diskroot as an option. In general, the aggregate that has the diskroot option is the one that will contain the root flexible volume following the next reboot.

The only way to remove the root status of an aggregate or traditional volume is to set the root option on another aggregate or traditional volume.

snaplock_compliance

Đọc lựa chọn duy nhất cho thấy rằng tổng hợp là một tuân thủ SnapLock tổng hợp. Uẩn chỉ có thể được chỉ định tập hợp tuân thủ SnapLock thời gian sáng tạo.

snaplock_enterprise

Đọc lựa chọn duy nhất cho thấy rằng tổng hợp là một doanh nghiệp SnapLock tổng hợp. Aggregates can only be designated SnapLock Enterprise aggregates at creation time.

snapmirrored off

If SnapMirror is enabled for a traditional volume (SnapMirror is not supported for aggregates that contain flexible volumes), the filer automatically sets this option to on . Set this option to off if SnapMirror is no longer to be used to update the traditional volume mirror. After setting this option to off , the mirror becomes a regular writable traditional volume. This option can only be set to off ; only the filer can change the value of this option from off to on .

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 ]

Resumes parity scrubbing on the named aggregate, plex, or group. If no name is given, resume all RAID groups currently undergoing a parity scrubbing that has been suspended.

aggr scrub start [ aggrname | plexname | groupname ]

Starts parity scrubbing on the named online aggregate. Parity scrubbing compares the data disks to the parity disk(s) in their RAID group, correcting the parity disk's contents as necessary. If no name is given, parity scrubbing is started on all online aggregates. If an aggregate name is given, scrubbing is started on all RAID groups contained in the aggregate. If a plex name is given, scrubbing is started on all RAID groups contained in the plex.

aggr scrub status [ aggrname | plexname | groupname ] [ -v ]

Prints the status of parity scrubbing on the named aggregate, plex, or group; all RAID groups currently undergoing parity scrubbing if no name is given. The status includes a percent-complete, and the scrub's suspended status.

-V cờ hiển thị ngày tháng và thời gian mà chà cuối cùng hoàn thành cùng với tình trạng hiện hành về tổng hợp được đặt tên, plex, hoặc nhóm, tất cả các nhóm RAID nếu tên không được đưa ra .

aggr chà dừng aggrname | plexname | groupname]

Dừng chà chẵn lẻ trên tổng hợp được đặt tên, plex, hoặc nhóm, nếu không có tên được đưa ra, trên tất cả các nhóm RAID, hiện nay đang chà chẵn lẻ.

aggr chà đình chỉ aggrname | plexname | groupname]

Đình chỉ chà chẵn lẻ trên tổng hợp được đặt tên, plex, hoặc một nhóm, nếu không có tên được đưa ra, trên tất cả các nhóm RAID, hiện nay đang chà chẵn lẻ.

aggr show_space [-h |-k |-m-g | |-t |-b] <aggrname>

Hiển thị việc sử dụng không gian trong một tổng hợp. Không giống như df, lệnh này cho thấy việc sử dụng không gian cho từng khối lượng linh hoạt trong một tổng hợp Nếu aggrname được quy định cụ thể, aggr show_space chỉ chạy trên tổng hợp tương ứng, nếu không báo cáo sử dụng không gian trên tất cả các uẩn.

Tất cả các kích thước được báo cáo trong các khối 1024-byte, trừ trường hợp theo yêu cầu của một trong các h, k, m, g, tùy chọn hoặc-t. K-,-m,-g, và tùy chọn-t quy mô từng lĩnh vực liên quan đến kích thước của sản lượng được thể hiện trong KB, MB, GB, hoặc terabyte tương ứng.

Các thuật ngữ sau đây được sử dụng bởi các lệnh trong báo cáo không gian.

      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. 

aggr split plexname aggrname
[ -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 tình trạng [aggrname]
[-R |-v |-d |-c |-b |-s |-f |-i]

Hiển thị tình trạng của một hoặc tất cả các tập hợp trên Filer. Nếu aggrname được sử dụng, tình trạng của các tổng hợp quy định được in, nếu không thì tình trạng của tất cả các uẩn trong Filer được in. Theo mặc định, nó in một tóm tắt một dòng tổng hợp trong đó bao gồm tên tổng hợp, cho dù nó có chứa một khối lượng duy nhất truyền thống hoặc một số số khối lượng linh hoạt, nếu nó là trực tuyến hoặc offline, các tiểu bang khác (ví dụ, một phần, bị suy thoái, wafl không phù hợp, và như vậy) và peraggregate tùy chọn. Per-tổng hợp các tùy chọn được hiển thị nếu các tùy chọn đã được thay đổi từ giá trị mặc ​​định hệ thống bằng cách sử dụng lệnh aggr lựa chọn, hoặc bởi lệnh tùy chọn vol nếu tổng hợp được nhúng vào trong một thể tích truyền thống. Nếu nhà nước không phù hợp wafl được hiển thị, xin vui lòng liên hệ với bộ phận Hỗ trợ khách hàng.

V-cờ hiển thị trạng thái bật / tắt của tất cả các peraggregate lựa chọn và hiển thị thông tin về plex, mỗi khối lượng và nhóm RAID trong tổng hợp .

The -r flag displays a list of the RAID information for that aggregate. If no aggrname is specified, it prints RAID information about all aggregates, information about file system disks, spare disks, and failed disks. For more information about failed disks, see the -f switch description below.

The -d flag displays information about the disks in the specified aggregate. 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. 

aggr undestroy [ -n ] < aggrname >

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 .

However, having unique aggregate names in a cluster makes it easier to migrate aggregates between the filers in the cluster.

VÍ DỤ

aggr create aggr1 -r 10 20

Creates an aggregate named aggr1 with 20 disks. The RAID groups in this aggregate can contain up to 10 disks, so this new aggregate has two RAID groups. The filer adds the current spare disks to the new aggregate, starting with the smallest disk.

aggr create aggr1 20@9

Creates an aggregate named aggr1 with 20 9-GB disks. Because no RAID group size is specified, the default size (8 disks) is used. The newly-created aggregate contains two RAID groups with 8 disks and a third group with four disks.

aggr create aggr1 -d 8a.1 8a.2 8a.3

Creates an aggregate named aggr1 with the specified three disks.

aggr create aggr1 10
aggr options aggr1 raidsize 5

Lệnh đầu tiên tạo ra một tổng hợp có tên aggr1 với 10 đĩa mà thuộc về một nhóm RAID . Lệnh thứ hai xác định rằng nếu có đĩa sau đó được bổ sung vào tổng hợp này, họ sẽ không làm bất kỳ nhóm RAID hiện tại để có nhiều hơn năm đĩa. Mỗi nhóm RAID hiện tại sẽ tiếp tục có 10 đĩa và không có ổ đĩa sẽ được thêm vào nhóm RAID. Khi các nhóm RAID mới được tạo ra, họ sẽ có một kích thước tối đa của năm đĩa.

aggr show_space-h ag1

Hiển thị việc sử dụng không gian của `ag1 tổng hợp và quy mô các đơn vị của không gian theo kích thước.

  Tổng cộng chỗ trống tổng hợp 'ag1' WAFL dự trữ Snap dự trữ có thể sử dụng không gian BSR NVLOG 66GB 6797MB 611MB 59GB 65KB không gian được phân bổ cho khối lượng trong tổng khối lượng được phân bổ sử dụng bảo lãnh vol1 14GB 11GB khối lượng vol2 8861MB 8871MB tập tin vol3 6161MB 6169MB không vol4 26GB 25GB khối lượng vol1_clone 1028MB 1028MB ( offline) tổng hợp được phân bổ sử dụng Tận dụng không gian Tổng 55GB 51GB 3494MB Snap dự trữ 611MB 21MB 590MB WAFL dự trữ 6797MB 5480KB 6792MB 

aggr tình trạng 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 

XEM

vol , partner , snapmirror , sysconfig .


Mục lục






















































Manual Pages , , , ,

cf

07 tháng 7 năm 2009

Mục lục

TÊN

cf – controls the takeover and giveback operations of the filers in a cluster

Tóm tắt

cf [ disable | enable | forcegiveback | forcetakeover [ -df ] | giveback [ -f ] | hw_assist [ status | test stats [ clear ] ] | monitor | partner | status [ -t ] takeover [ -f ] | [ -n ]]

cf nfo [ enable | disable ] disk_shelf

cf nfo status

Mô tả

The cf command controls the cluster failover monitor, which determine when takeover and giveback operations take place within a cluster.

The cf command is available only if your filer has the cluster license.

LỰA CHỌN

disable
Disables the takeover capability of both filers in the cluster.

enable
Enables the takeover capability of both filers in the cluster.

forcegiveback
forcegiveback is dangerous and can lead to data corruption; in almost all cases, use cf giveback -f instead.

Forces the live filer to give back the resources of the failed filer even though the live filer determines that doing so might result in data corruption or cause other severe problems. giveback will refuse to giveback under these conditions. Using the forcegiveback option forces a giveback. When the failed filer reboots as a result of a forced giveback, it displays the following message:

partner giveback incomplete, some data may be lost

forcetakeover [-f] forcetakeover is dangerous and can lead to data corruption; in almost all cases, use cf takeover instead.

Forces one filer to take over its partner even though the filer detects an error that would otherwise prevent a takeover. For example, normally, if a detached or faulty ServerNet cable between the filers causes the filers' NVRAM contents to be unsynchronized, takeover is disabled. However, if you enter the cf forcetakeover command, the filer takes over its partner despite the unsynchronized NVRAM contents. This command might cause the filer being taken over to lose client data. If you use the -f option, the cf command allows such a forcetakeover to proceed without requiring confirmation by the operator.

forcetakeover -d[f] Forces a filer to take over its partner in all cases where a forcetakeover would fail. In addition it will force a takeover even if some partner mailbox disks are inaccessible. It can only be used when cluster_remote is licensed.

forcetakeover-d là rất nguy hiểm. Not only can it cause data corruption, if not used carefully, it can also lead to a situation where both the filer and it's partner are operational (split brain). As such, it should only be used as a means of last resort when the takeover and forcetakeover commands are unsuccessful in achieving a takeover. The operator must ensure that the partner filer does not become operational at any time while a filer is in a takeover mode initiated by the use of this command. In conjunction with RAID mirroring, it can allow recovery from a disaster when the two filers in the cluster are located at two distant sites. The use of -f option allows this command to proceed without requiring confirmation by the operator.

giveback [ -f ]
Initiates a giveback of partner resources. Once the giveback is complete, the automatic takeover capability is disabled until the partner is rebooted. A giveback fails if outstanding CIFS sessions, active system dump processes, or other filer operations makes a giveback dangerous or disruptive. If you use the -f option, the cf command allows such a giveback to proceed as long as it would not result in data corruption or filer error.

hw_assist [ status | test | stats [ clear ] ] Displays information related to the hardware-assisted takeover functionality. Use the cf hw_assist status command to display the hardware-assisted functionality status of the local as well as the partner filer. If hardware-assisted status is inactive, the command displays the reason and if possible, a corrective action. Use the cf hw_assist test command to validate the hardware-assisted takeover configuration. An error message is printed if hardware-assisted takeover configuration can not be validated. Use the cf hw_assist stats command to display the statistics for all hw_assist alerts received by the filer. Use cf hw_assist stats clear to clear hardware-assisted functionality statistics.

monitor
Displays the time, the state of the local filer and the time spent in this state, the host name of the partner and the state of cluster failover monitor (whether enabled or disabled). If the partner has not been taken over currently, the status of the partner and that of the interconnect are displayed and any ongoing giveback or scheduled takeover operations are reported.

partner
Displays the host name of the partner. If the name is unknown, the cf command displays “ partner .”

status
Displays the current status of the local filer and the cluster. If you use the -t option, displays the status of the node as time master or slave.

takeover [ -f ] | [ -n ]
Initiates a takeover of the partner. If you use the -f option, the cf command allows such a takeover to proceed even if it will abort a coredump on the other filer.

If you use the -n option, the cf command allows a takeover to proceed even if the partner node was running an incompatible version of Data ONTAP. The partner node must be cleanly halted in order for this option to succeed. This is used as part of a nondisruptive upgrade process.

nfo [ enable | disable ] disk_shelf
Enables or disables negotiated failover on disk shelf count mismatch.

This command is obsolete. Option cf.takeover.on_disk_shelf_miscompare replaces it.

Negotiated failover is a general facility which supports negotiated failover on the basis of decisions made by various modules. disk_shelf is the only negotiated failover module currently implemented. When communication is first established over the interconnect between the local filer and its partner, a list of disk shelves seen by each node on its A and B loops is exchanged. If a filer sees that the count of shelves that the partner sees on its B loops is greater than the filer's count of shelves on its A loops, the filer concludes that it is “impaired” (as it sees fewer of its shelves than its partner does) and asks the partner to take it over. If the partner is not itself impaired, it will accept the takeover request and, in turn, ask the requesting filer to shut down gracefully. The partner takes over after the requesting node shuts down, or after a time-out period of approximately 3 minutes expires. The comparison of disk shelves is only done when communication between the filers is established or re-established (for example, after a node reboots).

nfo status
Displays the current negotiated failover status.

This command is obsolete. Use cf status instead.

XEM

đối tác


Mục lục



Manual Pages , , , ,

bootfs

07 tháng 7 năm 2009

Mục lục

TÊN

bootfs – boot file system accessor command (ADVANCED)

SYNOPSIS

bootfs chkdsk disk

bootfs core [ -v ] disk

bootfs dir [ -r ] path

bootfs dump { disk | drive } { sector | cluster }

bootfs fdisk disk partition1sizeMB [ partition2sizeMB ] [ partition3sizeMB ] [ partition4sizeMB ]

bootfs format drive [ label ]

bootfs info disk

bootfs sync [ -f ] { disk | drive }

bootfs test [ -v ] disk

Mô tả

The bootfs command allows content viewing and format manipulation of the the boot device.

Using the bootfs command, you may perform four important functions. You may check the integrity of the boot device via the chkdsk subcommand. You may view the contents of your boot device via the dir , dump , and info subcommands. You may alter the partition sizes and format types present on the boot device via the fdisk subcommand. You may reformat the partitions present on the boot device via the format command. You may sync all in memory contents to the physical media via the sync subcommand. Lastly, you may diagnose the health of your boot device via the test subcommand.

LỰA CHỌN

-V
Turns on verbose output.

-r
Recursively lists directories and files.

path
A path consists of a drive, optional directories, and an optional file name. Directories are separated by a /. To discover your boot drive's name, use " bootfs help subcommand ".

disk
A disk is a physical object, probably a compact flash in this case. A disk name is generally of the form [PCI slot number]a.0, eg 0a.0. To discover your boot disk's name, use " bootfs help subcommand ".

drive
A drive is a formatted partition on the disk. A disk may contain up to four drives. A drive name is generally of the form [PCI slot number]a.0:[partition
number]:,
eg 0a.0:1:. To discover your boot drive's name, use " bootfs help sub_ c ommand ".

sector
Disks are divided into sectors. Sectors are based at 0.

cluster
Drives are divided into clusters. Clusters are based at 2, though the root directory can be thought to reside at cluster 0.

partitionNsizeMB
The size of partition N in megabytes. There can be at most four partitions per disk.

label
An 11-character or less string which names the drive.

CLUSTER CÂN NHẮC

The bootfs command cannot be used on a clustered system's partner.

VÍ DỤ

The dir subcommand lists all files and subdirectories contained in the path provided. The information presented for each file and subdirectory is (in this column order) name, size, date, time, and cluster.

bootfs dir 0a.0:1:/x86/kernel/

 Volume Label in Drive 0a.0:1: is KERNEL Volume Serial Number is 716C-E9F8 Directory of 0a.0:1:/x86/kernel/ . DIR 02-07-2003 2:37a 2 .. DIR 02-07-2003 2:37a 3 PRIMARY.KRN 9318400 04-07-2003 6:53p 4 2187264 bytes free 

The dump subcommand lists either a sector on a disk or a cluster on a drive, depending on the command line arguments provided. The sector or cluster is listed in both hexadecimal and ASCII form.

bootfs dump 0a.0 110

 sector 110 absolute byte 0xdc00 on disk 0a.0 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 0123456789abcdef —-++————————————————++—————- 0000 00 90 ba 5e b4 01 00 80 7b 0c 00 7d 05 ba 51 b4 …^….{..}..Q. 0010 01 00 83 7b 04 00 74 0a 8b 47 24 a3 dc ce 01 00 …{..t..G$….. 0020 eb 0a c7 05 dc ce 01 00 00 00 e0 fe 83 c4 fc ff ……………. 0030 35 dc ce 01 00 52 68 80 b4 01 00 e8 26 b0 ff ff 5….Rh…..&… 0040 a1 dc ce 01 00 8b 90 f0 00 00 00 80 ce 01 89 90 ……………. [etc.] bootfs dump 0a.0:1: 5 cluster 5 absolute byte 0x25a00 on drive 0a.0:1: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 0123456789abcdef —-++————————————————++—————- 0000 0a 19 12 00 19 0f 00 01 00 64 00 00 00 00 00 00 ………d…… 0010 a1 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ……………. 0020 00 00 00 00 5a 44 5a 44 00 10 00 00 00 00 01 b0 ….ZDZD…….. 0030 20 04 00 10 20 05 00 01 20 06 00 02 20 07 00 13 … … … … 0040 fc ef 00 00 fc b1 20 80 fc d0 20 80 4a 63 c0 55 …… … .Jc.U [etc.] 

The fdisk subcommand creates drives within a disk. A maximum of four drives may be created per disk. The sum of the drives must be less than the size of the disk. Note that most disk manufacturers define a megabyte as 1000*1000 bytes, resulting in a disk being smaller than the size advertised (for example, a 32 MB disk is really 30.5 MB). Performing an fdisk destroys all data on the disk.

bootfs fdisk 0a.0 30

The format subcommand formats a drive to the FAT file system standard. A drive must be formatted before it can store files.

bootfs format 0a.0:1: NETAPP

The info subcommand prints information about a disk. The location of various elements and sizes of sections is displayed.

bootfs info 0a.0

 ——————————————————————– partition: 1 2 3 4 ——————————————————————– file system: 0×01 0×01 0×01 0×01 bytes per cluster: 4096 4096 4096 4096 number of clusters: 2809 2809 2042 251 total bytes: 11534336 11534336 8388608 1048576 usable bytes: 11501568 11501568 8359936 1024000 free bytes: 11505664 11505664 8364032 1028096 FAT location: 512 512 512 512 root location: 9728 9728 6656 1536 data location: 26112 26112 23040 17920 

The test subcommand read and writes to/from every byte on the disk. The test subcommand can be used if you suspect your disk is faulty. A faulty disk would, for example, result in a download command failure.

bootfs test -v 0a.0

 [.................................] disk 0a.0 passed I/O test 

XEM

tải về


Mục lục

Manual Pages , , , ,

boot

07 tháng 7 năm 2009

Mục lục

TÊN

boot – directory of Data ONTAP executables

SYNOPSIS

/etc/boot

Mô tả

The boot directory contains copies of the executable files required to boot the filer. The download command (see download ) copies these files from /etc/boot into the filer's boot block, from which the system boots.

FILES

/etc/boot
directory of Data ONTAP executables. Files are place in /etc/boot after the tar or setup.exe has decompressed them. These files vary from release to release.

XEM

tải về


Mục lục

Copyright © 1994-2008 NetApp, Inc. Legal Information

VN: F [1.9.11_1134]
Bầu chọn cho bài đăng này:
Rating: 0.0 / 10 (0 votes cast)

Manual Pages , , , ,

bmc

07 tháng 7 năm 2009

Mục lục

TÊN

bmc – commmands for use with a Baseboard Management Controller (BMC)

SYNOPSIS

bmc help

bmc reboot

bmc setup

bmc status

bmc test autosupport

Mô tả

The bmc command is used to manage and test a Baseboard Management Controller (BMC), if one is present.

LỰA CHỌN

help
Display a list of Baseboard Management Controller (BMC) commands.

reboot
The reboot command forces the BMC to reboot itself and perform a self-test. If your console connection is through the BMC it will be dropped.

setup
Interactively configure the BMC local-area network (LAN) setttings.

status
Display the current status of the BMC.

test autosupport
Test the BMC autosupport by commanding the BMC to send a test autosupport to all autosupport email addresses in the option lists autosupport.to , autosupport.noteto , and autosupport.support.to .

CLUSTER CÂN NHẮC

This command only acts upon the Baseboard Management Controller (BMC) that is local to the system.

VÍ DỤ

bmc status

might produce:

 Baseboard Management Controller: Firmware Version: 1.0 IPMI version: 2.0 DHCP: on BMC MAC address: 00:a0:98:05:2b:4a IP address: 10.98.144.170 IP mask: 255.255.255.0 Gateway IP address: 10.98.144.1 BMC ARP interval: 10 seconds BMC has user: naroot ASUP enabled: on ASUP mailhost: mailhost@netapp.com ASUP from: postmaster@netapp.com ASUP recipients: dl-qa-autosupport@netapp.com 

XEM

setup , options

NOTES

Some of these commands might pause before completing while the Baseboard Management Controller (BMC) is queried. This is normal behavior.


Mục lục

Copyright © 1994-2008 NetApp, Inc. Legal Information

VN: F [1.9.11_1134]
Bầu chọn cho bài đăng này:
Rating: 0.0 / 10 (0 votes cast)

Manual Pages , , , ,

backuplog

07 tháng 7 năm 2009

Mục lục

TÊN

backuplog – captures significant events during file system backup/recovery activities.

SYNOPSIS

/etc/log/backup

Mô tả

Filer captures significant dump/restore-related events and the respective times at which they occur. All events are recorded in one-line messages in /etc/log/backup.

The following are the events filer monitors:

Bắt đầu
Dump/restore starts.

Restart
Restart of a dump/restore.

Cuối
Dump/restore completes successfully.

Abort
The operation aborts.

Error
Dump/restore hits an unexpected event.

Tùy chọn
Logs the options as users specify.

Tape_open
Output device is opened successfully.

Tape_close
Output device is closed successfully.

Phase_change
As dump/restore completes a stage.

Dump specific events:

Snapshot
When the snapshot is created or located.

Base_dump
When a valid base dump entry is located.

Logging events:

Start_logging Logging begins.

Stop_logging
Logging ends.

Each event record is in the following format:

TYPE TIME_STAMP IDENTIFIER EVENT (EVENT_INFO)

TYPE
Either dmp(dump), rst(restore) or log events.

TIME_STAMP
Shows date and time at which event occurs.

IDENTIFIER
Unique ID for the dump/restore.

EVENT
The event name.

EVENT_INFO
Event specific information.

A typical event record message looks like:

dmp Thu Apr 5 18:54:56 PDT 2001 /vol/vol0/ home(5) Start (level 0, NDMP)

In the particular example:

TYPE
= dmp

TIME_STAMP
= Thu Apr 5 18:54:56 PDT 2001

IDENTIFER
= /vol/vol0/ home(5)

EVENT
= Start

EVENT_INFO
= level 0, NDMP

All event messages go to /etc/log/backup. On every Sunday at 00:00, backup is roated to backup.0 and backup.0 is moved to backup.1 and so on. Up to 6 log files(spanning up to 6 weeks) are kept.

The registry option backup.log.enable controls the enabling and disabling of the logging with values on and off respectively. The functionality is enabled by default. (See options for how to set options.)

FILES

/etc/log/backup
backup log file for current week. /etc/log/backup.[0-5] backup log files for previous weeks

XEM

dump , restore , options


Mục lục

Manual Pages , , , ,

backup

07 tháng 7 năm 2009

Mục lục

TÊN

backup – manages backups

SYNOPSIS

backup status [ <ID> ]

backup terminate <ID>

Mô tả

The backup commands provide facilities to list and manipulate backups on a filer.

A backup job runs on a filer as a process that copies a file system or a subset of it to secondary media, usually tapes. Data can be restored from the secondary media in case the original copy is lost. There are several types of backup processes that run on the filers:

dump
runs natively on the filer.

NDMP
driven by a 3rd party client through NDMP protocol.

RESTARTABLE A failed dump that can be restarted.

USAGE

backup status [ <ID> ]
displays all active instances of backup jobs on the filer. For each backup, the backup status command lists the following information:

ID
The unique ID that is assigned to the backup and persists across reboots until the backup completes successfully or is terminated. After that, the ID can be recycled for another backup.

State
The state can either be ACTIVE or RESTARTABLE. ACTIVE state indicates that the process is currently running; RESTARTABLE means the process is suspended and can be resumed.

Loại
Either dump or NDMP.

Device
The current device. It is left blank for RESTARTABLE dumps since they are not running and thus do not have a current device.

Start Date The time and date that the backup first started.

Level
The level of the backup.

Path
Points to the tree that is being backed up.

An example of the backup status command output:

 ID State Type Device Start Date Level Path — ———– —- —— ———— —– ————— 0 ACTIVE NDMP urst0a Nov 28 00:22 0 /vol/vol0/ 1 RESTARTABLE dump Nov 29 00:22 1 /vol/vol1/ 

If a specific ID is provided, the backup status command displays more detailed information for the corresponding backup.

backup terminate <ID>
A RESTARTABLE dump, though not actively running, retains a snapshot and other file system resources. To release the resources, user can explicitly terminate a RESTARTABLE dump. Once terminated, it cannot be restarted again.

XEM

dump


Mục lục



Manual Pages , , , ,

autosupport

07 tháng 7 năm 2009

Mục lục

TÊN

autosupport – notification daemon

SYNOPSIS

Data ONTAP is capable of sending automated notification to Customer Support at Network Appliance and/or to other designated addressees in certain situations. The notification contains useful information to help them solve or recognize problems quickly and proactively. The system can also be configured to send a short alert notification containing only the reason for the alert to a separate list of recipients. This notification is sent only for critical events that might require some corrective action and can be useful for Administrators with alphanumeric pagers that can accept short email messages.

Mô tả

The autosupport mechanism will use SMTP if there are any (user configured) destination email addresses set in the autosupport.to option. If autosupport.support.enable is on then autosupports will also be sent to Network Appliance. Autosupports sent to Network Appliance may be transmitted by SMTP or by HTTP as specified in the autosupport.support.transport option.

If SMTP is used then the autosupport mechanism contacts a mail host that is listening on the SMTP port (25) to send email. A list of up to 5 mailhosts can be specified by using the autosupport.mailhosts option, and they will be accessed in the order specified until one of them answers as a mailhost. It will then send email through the successful mailhost connection to the destination email address specified in the autosupport.to option. Note that the autosupport.to option only allows 5 email address. To send to more than 5 recipients, create a local alias, or distribution list, and add that as the recipient.

If autosupport.support.enable is on then a copy of the autosupport message is also sent to Network Appliance as follows:

If autosupport.support.transport is smtp then the copy of the autosupport is emailed to the destination specified in autosupport.support.to and the same mailhost picking algorithm is used as above.

If autosupport.support.transport is http then a direct connection to the location specified in autosupport.support.url is made and the autosupport is transmitted to Network Appliance via HTTP POST.

The autosupport mechanism is triggered automatically once a week by the kernel to send information before backing up the messages file. It can also be invoked to send the information through the options command. Autosupport mail will also be sent on events that require corrective action from the System Administrator. And finally, the autosupport mechanism will send notification upon system reboot from disk.

To accommodate multiple delivery methods and destinations and to preserve time dependent values, the outgoing autosupport messages are now spooled in /etc/log/autosupport . Autosupport processing will attempt to deliver all (currently undelivered) messages until the autosupport.retry.count has been reached or until subsequent autosupport messages "fill the spool" such that the oldest (undelivered) messages are forced to be dropped. The spool size is currently 40 messages.

The subject line of the mail sent by the autosupport mechanism contains a text string to identify the reason for the notification. The subject also contains a relative prioritization of the message, using syslog severity levels from DEBUG to EMERGENCY (see syslog.conf ). The messages and other information in the notification should be used to check on the problem being reported.

The setup command tries to configure autosupport as follows:

If a mailhost is specified, it adds an entry for mailhost to the /etc/hosts file.

Setup also queries for autosupport.from information.

LỰA CHỌN

Autosupport features are manipulated through the options command (see options ). The available options are as follows:

autosupport.cifs.verbose
If on , includes CIFS session and share information in autosupport messages. If off , those sections are omitted. The default is off .

autosupport.content
The type of content that the autosupport notification should contain. Allowable values are complete and minimal . The default value is complete . The minimal option allows the delivery of a "sanitized" and smaller version of the autosupport, at the cost of reduced support from Network Appliance. Please contact Network Appliance if you feel you need to use the minimal option. The complete option is the traditional (and default) form of autosupport. If this option is changed from complete to minimal then all previous and pending autosupport messages will be deleted under the assumption that complete messages should not be transmitted.

autosupport.doit
Triggers the autosupport daemon to send an autosupport notification immediately. A text word entered as the option is sent in the notification subject line and should be used to explain the reason for the notification.

autosupport.enable
Enables/disables the autosupport notification features (see autosupport ). The default is on to cause autosupport notifications to be sent. This option will override the autosupport.support.enable option.

autosupport.from
Defines the user to be designated as the sender of the notification. The default is postmaster@your.domain . Email replies from Network Appliance will be sent to this address.

autosupport.local.nht_data.enable
Enables/disables the NHT data autosupport to be sent to the recipients listed in the autosupport.to option. NHT data is the binary, internal log data from each disk drive, and in general, is not parsable by other than Network Appliance. There is no customer data in the NHT autosupport. The default for this option is off .

autosupport.local.performance_data.enable
Enables/disables performance data autosupport to be sent to the recipients listed in autosupport.to . The performance autosupport contains hourly samples of system performance counters, and in general is only useful to Network Appliance. The default is off .

autosupport.mailhost
Defines the list of up to 5 mailhost names. Enter the host names as a comma-separated list with no spaces in between. The default is an empty list.

autosupport.minimal.subject.id
Defines the type of string that is used in the identification portion of the subject line when autosupport.content is set to minimal . Allowable values are systemid and hostname . The default is systemid .

autosupport.noteto
Defines the list of recipients for the autosupport short note email. Up to 5 mail addresses are allowed. Enter the addresses as a comma-separated list with no spaces in between. The default is an empty list to disable short note emails.

autosupport.nht_data.enable
Enables/disables the generation of the Health Trigger (NHT) data autosupport. Default is off

autosupport.performance_data.enable
Enables/disables hourly sampling of system performance data, and weekly creation of a performance data autosupport. The default is on .

autosupport.retry.count
Number of times to try resending the mail before giving up and dropping the mail. Minimum is 5; maximum is 4294967295 ; The default is 15 .

autosupport.retry.interval
Time in minutes to delay before trying to send the autosupport again. Minimum is 30 seconds, maximum is 1 day. Values may end with `s', `m' or `h' to indicate seconds, minutes or hours respectively, if no units are specified than input is
assumed to be in seconds. The default value is 4m .

autosupport.support.enable
Enables/disables the autosupport notification to Network Appliance The default is on to cause autosupport notifications to be sent directly to Network Appliance as described by the autosupport.support.transport option. This option is superceded (overridden) by the value of autosupport.enable .

autosupport.support.proxy
Allows the setting of an http based proxy if autosupport.support.transport is https or http . The default
for this option is the empty string, implying no proxy is necessary.

autosupport.support.to
This option is read only; it shows where autosupport notifications to Network Appliance are sent if autosupport.support.transport is smtp .

autosupport.support.transport
Allows setting the type of delivery desired for autosupport notifications that are destined for Network Appliance. Allowed values are https , http (for direct web based posting) or smtp (for traditional email). The default value is https . Note that http and https may (depending on local network configuration) require that the autosupport.support.proxy option be set correctly. Also smtp requires that autosupport.mailhosts be configured correctly before autosupport delivery can be successful.

autosupport.support.url
This option is read only; it shows where autosupport notifications to Network Appliance are sent if autosupport.support.transport is https or http .

autosupport.throttle
Enables autosupport throttling (see autosupport ). When too many autosupports are sent in too short a time, additional messages of the same type will be dropped. Valid values for this option are on or off . The default value for this option is on .

autosupport.to
Defines the list of recipients for the autosupport email notification. Up to 5 mail addresses are allowed. Enter the addresses as a comma-separated list with no spaces in between. The default is an empty list. Note that it is no longer necessary to use the standard Network Appliance autosupport email address in this field to direct autosupport messages to Network Appliance. Please use autosupport.support.enable instead.

CONTENTS

A complete autosupport will contain the following information. Note that some sections are configurable, and/or available depending on what features are licensed. The order given is the general order of appearance in the autosupport message itself.

Generation date and timestamp

Software Version

System ID

Hostname

SNMP contact name (if specified)

SNMP location (if specified)

Partner System ID (if clustered)

Partner Hostname (if clustered)

Cluster Node Status (if clustered)

Console language type

sysconfig -a output

sysconfig -c output

sysconfig -d output

System Serial Number

Software Licenses (scrambled prior to transmission)

Option settings

availtime output

cf monitor all output (if clustered)

ic stats performance output (if clustered with VIA)

ic stats error -v output (if clustered with VIA)

snet stats -v output (if clustered with SNET)

ifconfig -a output

ifstat -a output

vlan stat output

vif status output

nis info output

nfsstat -c output (if licensed)

cifs stat output (if licensed)

cifs sessions summary (if licensed)

cifs sessions output (if licensed and enabled)

cifs shares summary (if licensed)

cifs shares output (if licensed and enabled)

vol status -l (if cifs is licensed)

httpstat output

vfiler status -a output (if licensed)

df output

df -i output

snap sched output

vol status -v output

vol status output

vol status -c output

vol scrub status -v output

sysconfig -r output

fcstat fcal_stats output

fcstat device_map output

fcstat link_stats output

ECC Memory Scrubber Statistics

ems event status output

ems log status output

registry values

perf report -t output

storage show adapter -a output

storage show hub -a output

storage show disk -a output

storage show fabric output

storage show switch output

storage show port output

EMS log file (if enabled)

/etc/messages content

Parity Inconsistancy information

WAFL_check logs

TYPES

The following types of autosupport messages, with their associated severity, can be generated automatically. The autosupport message text is in bold, and the LOG_XXX value is the syslog severity level. Note that text inside of square brackets ([]) is descriptive and is not static for any given autosupport message of that type.

BATTERY_LOW!!!
LOG_ALERT

BMC_EVENT: BUS ERROR
LOG_ERR

BMC_EVENT: POST ERROR
LOG_ERR

CLUSTER DOWNREV BOOT FIRMWARE
LOG_CRIT

CLUSTER ERROR: DISK/SHELF COUNT MISMATCH LOG_EMERG

CLUSTER GIVEBACK COMPLETE
LOG_INFO

CLUSTER TAKEOVER COMPLETE AUTOMATIC
LOG_ALERT

CLUSTER TAKEOVER COMPLETE MANUAL
LOG_INFO

CLUSTER TAKEOVER FAILED
LOG_INFO

CONFIGURATION_ERROR!!!
LOG_ALERT

CPU FAN WARNING - [fan]
LOG_WARNING

DEVICE_QUALIFICATION_FAILED
LOG_CRIT

DISK CONFIGURATION ERROR
LOG_ALERT

DISK RECONSTRUCTION FAILED!!
LOG_ALERT

DISK_FAIL!!! - Bypassed by ESH
LOG_ALERT

DISK_FAIL!!!
LOG_ALERT

DISK_FAILURE_PREDICTED!!!
LOG_ALERT

DISK_FIRMWARE_NEEDED_UPDATE!!!
LOG_EMERG

DISK_IO_DEGRADED
LOG_WARNING

DISK_LOW_THRUPUT
LOG_NOTICE

DISK_RECOVERED_ERRORS
LOG_WARNING

DISK_SCRUB!!!
LOG_EMERG

FC-AL LINK_FAILURE!!!
LOG_ERR

FC-AL RECOVERABLE ERRORS
LOG_WARNING

OVER_TEMPERATURE_SHUTDOWN!!!
LOG_EMERG

OVER_TEMPERATURE_WARNING!!!
LOG_EMERG

PARTNER DOWN, TAKEOVER IMPOSSIBLE
LOG_ALERT

POSSIBLE BAD RAM
LOG_ERR

POSSIBLE UNLINKED INODE
LOG_ERR

REBOOT (CLUSTER TAKEOVER)
LOG_ALERT

REBOOT (after WAFL_check)
LOG_INFO

REBOOT (after entering firmware)
LOG_INFO

REBOOT (after giveback)
LOG_INFO

REBOOT (halt command)
LOG_INFO

REBOOT (internal halt)
LOG_INFO

REBOOT (internal reboot)
LOG_INFO

REBOOT (panic)
LOG_CRIT

REBOOT (power glitch)
LOG_INFO

REBOOT (power on)
LOG_INFO

REBOOT (reboot command)
LOG_INFO

REBOOT (watchdog reset)
LOG_CRIT

REBOOT
LOG_INFO

SHELF COOLING UNIT FAILED
LOG_EMERG

SHELF COOLING UNIT FAILED
LOG_WARNING

SHELF_FAULT!!!
LOG_ALERT

SNMP USER DEFINED TRAP
LOG_INFO

SPARE_FAIL!!!
LOG_ALERT

SYSTEM_CONFIGURATION_CRITICAL_ERROR
LOG_CRIT

SYSTEM_CONFIGURATION_ERROR
LOG_ERR

UNDER_TEMPERATURE_SHUTDOWN!!!
LOG_EMERG

UNDER_TEMPERATURE_WARNING!!!
LOG_EMERG

USER_TRIGGERED ([user input from autosupport.doit]) LOG_INFO

WAFL_check!!!
LOG_ALERT

WEEKLY_LOG
LOG_INFO

[EMS event]
LOG_INFO

[fan] FAN_FAIL!!!
LOG_ALERT

[mini core]
LOG_CRIT

[power supply failure]
LOG_ALERT

[power supply] POWER_SUPPLY_DEGRADED!!!
LOG_ALERT

[shelf over temperature critical]
LOG_EMERG

CLUSTER CÂN NHẮC

The autosupport email messages from a filer in a cluster are different from the autosupport email messages from a standalone filer in the following ways:

The subject in the autosupport email messages from a filer in a cluster reads, “Cluster notification, ” instead of “System notification.”

The autosupport email messages from a filer in a cluster contains information about its partner, such as the partner system ID and the partner host name.

In takeover mode, if you reboot the live filer, two autosupport email messages notify the email recipients of the reboot: one is from the live filer and one is from the failed filer.

The live filer sends an autosupport email message after it finishes the takeover process.

XEM

options , partner , setup , hosts , RFC821


Mục lục






























































Manual Pages , , , ,

auditlog

07 tháng 7 năm 2009

Mục lục

TÊN

auditlog – contains an audit record of recent administrative activity

SYNOPSIS

<logdir>/auditlog

<logdir> is /etc/log for filers and /logs for NetCache appliances.

Mô tả

If the option auditlog.enable is on, the system logs all input to the system at the console/telnet shell and via rsh to the auditlog file. The data output by commands executed in this fashion is also logged to auditlog. Administrative servlet invocations (via HTTP, typically from FilerView) and API calls made via the ONTAPI interface are also logged to the auditlog. A typical message is:

Wed Feb 9 17:34:09 GMT [rshd_0:auditlog]: root:OUT:date: Wed Feb 9 17:34:09 GMT 2000

This indicates that there was an rsh session around Wed Feb 9 17:34:09 GMT which caused the date command to be executed. The user performing the command was root. The type of log is data output by the system as indicated by the OUT keyword.

Commands typed at the filer's console or executed by rsh are designated by the IN keyword as in:

Wed Feb 9 17:34:03 GMT [rshd_0:auditlog]: :IN:rsh shell: RSH INPUT COMMAND is date

The start and end of an rsh session are specially demarcated as in

Wed Feb 9 17:34:09 GMT [rshd_0:auditlog]: root:START:rsh shell:orbit.eng.mycompany.com

Wed Feb 9 17:34:09 GMT [rshd_0:auditlog]: root:END:rsh shell:

The maximum size of the auditlog file is controlled by the auditlog.max_file_size option. If the file gets to this size, it is rotated (see below).

Every Saturday at 24:00, <logdir>/auditlog is moved to <logdir>/auditlog.0, <logdir>/auditlog.0 is moved to <logdir>/auditlog.1 , and so on. This process is called rotation. Auditlog files are saved for a total of six weeks, if they do not overflow.

If you want to forward audit log messages to a remote syslog log host (one that accepts syslog messages via the BSD Syslog protocol specified in RFC 3164), modify the filer's /etc/syslog.conf file to forward messages from the filer's "local7" facility to the remote host. Do this by adding a line like:

local7.*
@1.2.3.4

to /etc/syslog.conf. An IP address has been used here, but a valid DNS name could also be used. Note that using a DNS name can fail if the filer is unable to resolve the name given in the file. If that happens, your messages will not be forwarded.

On the log host, you'll need to modify the syslog daemon's configuration file to redirect syslog message traffic from the "local7" facility to the appropriate configuration file. That is typically done by adding a line similar to the one shown above for the filer:

local7.*
/var/logs/filer_auditlogs

Then restart the daemon on the log host, or send an appropriate signal to it. See the documentation for your log host's syslog daemon for more information on how to make that configuration change.

FILES

<logdir>/auditlog
auditlog file for current week. <logdir>/auditlog.[0-5] auditlog files for previous weeks

XEM

options , syslog.conf


Mục lục

Manual Pages , , , ,



This site is not affiliated or sponsored in anyway by NetApp or any other company mentioned within.

Bad Behavior has blocked 2489 access attempts in the last 7 days.

© 2009-2012 Tất cả các quyền Chris Kranz
This site is not affiliated or sponsored in anyway by NetApp or any other company mentioned within.