Stock quad disk layout

From NAS-Central Buffalo - The Linkstation Wiki
Jump to: navigation, search


Contents

Quad Disk Layout

By default the LSQuad comes with 4 disks with each partition as part of a raid array.

$ fdisk -l /dev/sda

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1         125     1004031   83  Linux
/dev/sda2             126         748     5004247+  83  Linux
/dev/sda4             749      121601   970751722+   5  Extended
/dev/sda5             749         873     1004031   82  Linux swap / Solaris
/dev/sda6             874      121478   968759631   83  Linux

Note that the above table is for a 1TB disk. All disks use the same size for all partitions other than /dev/sda6, which simply fills any remaining space.

Raid Levels

/dev/sda1

Boot drive. It is mirrored across all drives. The stock firmware will automatically synchronise all sXa1 partitions across all disks when it starts. Note that UBoot is not raid-aware - it simply boots from sda1, which is the first drive on the first disk (i.e. highest in the physical machine).

/dev/sda2

Root partition, /. Mirrored, just like sda1. Again stock firmware will automatically synchronise with other partitions upon boot.

/dev/sda4

This is simply an extended partition to hold other logical partitions.

/dev/sda5

Swap partition, and is striped across all the drives.

/dev/sda6

Data Partition. By default is RAID 5 (striped-with-parity) across all drives. Web interface lets you switch between RAID levels or simply turn it off for these drives.