← Solutions Notes

Huawei · OceanProtect · Field notes 2 of 4บันทึกงาน 2 จาก 4

How far file-level restore reachesFile-level restore ทำได้ไกลแค่ไหน

Pulling one file back out of a copy is the demo everyone asks for. It only works if the system can index the copy and read what is inside it — and there are more ways for that to fail than most people expect. ลูกค้าขอดูการกู้ไฟล์เดียวออกมาจากสำเนาแทบทุกครั้ง แต่มันจะทำได้ก็ต่อเมื่อระบบทำ index และอ่านข้างในสำเนาออก ซึ่งมีเงื่อนไขที่ทำให้อ่านไม่ออกเยอะกว่าที่คนส่วนใหญ่คิด

Applies toใช้กับ
X3000 / X6000 / X8000 / X9000 / E6000
Softwareเวอร์ชันซอฟต์แวร์
V200R001C10
Per restore jobต่อหนึ่งงานกู้คืน
200,000 filesไฟล์
Fallbackทางเลือกสำรอง
Disk / VM restoreกู้ทั้งดิสก์ / ทั้ง VM

The index ceilingเพดานการทำ index

File-level restore depends on the system building an index of the copy. If a copy is too large to index, it is still perfectly good for disk- and VM-level restore — you simply lose the ability to pull one file out of it.File-level restore ต้องอาศัย index ของสำเนา ถ้าสำเนาใหญ่เกินกว่าจะทำ index ได้ สำเนานั้นยังใช้กู้ทั้งดิสก์หรือทั้ง VM ได้ตามปกติ เพียงแต่จะดึงไฟล์เดียวออกมาไม่ได้

Index ceiling per copy, by applianceเพดานจำนวนไฟล์ต่อหนึ่งสำเนา แยกตามรุ่น
Applianceรุ่น Maximum files in one copy of a single backup resourceจำนวนไฟล์สูงสุดในหนึ่งสำเนาของข้อมูลหนึ่งชุด
X3000 / X600020,000,000
E600030,000,000
X8000 / X900050,000,000

A file server with tens of millions of small files is exactly the workload where a customer expects granular recovery, and exactly the workload that crosses these lines. Splitting one huge resource into several protected resources is the usual answer — the ceiling is per copy of a single resource, not per appliance.ไฟล์เซิร์ฟเวอร์ที่มีไฟล์เล็กๆ หลายสิบล้านไฟล์ คือกรณีที่ลูกค้าคาดหวังการกู้ทีละไฟล์มากที่สุด และเป็นกรณีที่ชนเพดานนี้พอดี ทางแก้ที่ใช้กันคือแบ่งข้อมูลก้อนใหญ่ออกเป็นหลายชุด เพราะเพดานนี้นับต่อหนึ่งสำเนาของข้อมูลหนึ่งชุด ไม่ได้นับรวมทั้งเครื่อง

Per jobต่องาน

A single file-level restore job recovers at most 200,000 files. Bringing back a whole share is a disk- or VM-level restore, not a file-level one.งาน file-level restore หนึ่งงานกู้ได้สูงสุด 200,000 ไฟล์ ถ้าจะเอาทั้ง share กลับมา ต้องใช้การกู้ทั้งดิสก์หรือทั้ง VM แทน

Supported guest platformsระบบปฏิบัติการและระบบไฟล์ที่รองรับ

Operating systems and file systems that can be parsedระบบที่อ่านโครงสร้างข้างในได้
Guest OSระบบปฏิบัติการ Versionsเวอร์ชัน File systemsระบบไฟล์
Linux—ext2, ext3, ext4, XFS
WindowsWindows 10 or earlier; Windows Server 2022 or earlierWindows 10 หรือเก่ากว่า และ Windows Server 2022 หรือเก่ากว่าNTFS, FAT, FAT32

What cannot be parsed at allสิ่งที่อ่านไม่ได้เลย

Any platformทุกแพลตฟอร์ม

  • Windows ReFS volumesVolume แบบ ReFS ของ Windows
  • Linux swap partitionsพาร์ทิชัน swap ของ Linux
  • Disks encrypted with an encryption toolดิสก์ที่เข้ารหัสด้วยเครื่องมือเข้ารหัส
  • Copies containing more than one operating systemสำเนาที่มีระบบปฏิบัติการมากกว่าหนึ่งระบบ
  • Copies without the disk holding the OS — without it there is no mount point or drive letter information, so no pathsสำเนาที่ไม่มีดิสก์ที่ติดตั้งระบบปฏิบัติการ เพราะจะไม่รู้จุด mount หรือชื่อไดรฟ์ จึงไม่รู้เส้นทางของไฟล์

Windows specificsเฉพาะฝั่ง Windows

  • Spanned, mirrored, striped and RAID 5 volumesVolume แบบ spanned, mirrored, striped และ RAID 5
  • Dynamic disksDynamic disk
  • Disks with Windows Data Deduplication enabledดิสก์ที่เปิด Data Deduplication ของ Windows
  • Any file system not mapped to a drive letter such as C:\ — if the mapping cannot be determined it is skippedระบบไฟล์ที่ไม่ได้ผูกกับชื่อไดรฟ์ เช่น C:\ ถ้าหาความสัมพันธ์ไม่ได้จะถูกข้าม
  • Removable media such as DVD-ROM is ignoredสื่อแบบถอดได้ เช่น DVD-ROM จะถูกข้าม

The Linux fstab requirementเงื่อนไขเรื่อง fstab บน Linux

A Linux partition or disk device is parsed only when its mount information is written into /etc/fstab. Either form works:พาร์ทิชันหรือดิสก์บน Linux จะถูกอ่านก็ต่อเมื่อมีข้อมูลการ mount เขียนไว้ใน /etc/fstab ใช้ได้ทั้งสองรูปแบบ

VIRTIO

Disk devices on the VIRTIO bus are the exception: they are parsed only when the entry is written in UUID form. A device-name entry is not enough. Since VIRTIO is the common bus in OpenStack, this one quietly disables file-level restore on a lot of guests.ดิสก์ที่ใช้บัสแบบ VIRTIO เป็นข้อยกเว้น ต้องเขียนใน fstab แบบ UUID เท่านั้น เขียนแบบชื่ออุปกรณ์ไม่พอ และเพราะ VIRTIO คือบัสที่ใช้กันทั่วไปบน OpenStack ข้อนี้จึงทำให้เครื่องจำนวนมากกู้ทีละไฟล์ไม่ได้โดยไม่มีใครรู้ตัว

File systems mounted temporarily rather than persistently are not parsed, and paths starting with /proc, /sys, /dev, /lib/udev/devices and /invisible are ignored by design.ระบบไฟล์ที่ mount ชั่วคราวไม่ถาวรจะไม่ถูกอ่าน และเส้นทางที่ขึ้นต้นด้วย /proc, /sys, /dev, /lib/udev/devices และ /invisible ถูกข้ามโดยตั้งใจ

Two more things that catch people outอีกสองเรื่องที่มักพลาดกัน

The rest of this seriesตอนอื่นในชุดนี้