Log in

Difference between revisions of "Zare NAS Servers"

From dtype.org
(Creation of md2)
(Creation of md2, fs2)
Line 7: Line 7:
== zare5 ==
== zare5 ==
=== Creation of md2, fs2 ===
=== Creation of md2, fs3 ===
  <nowiki>root@zare5:~# mdadm --create /dev/md2 --chunk=64 --level=6 --raid-devices=8 /dev/sdr /dev/sds /dev/sdt /dev/sdu /dev/sdv /dev/sdw /dev/sdx /dev/sdy
  <nowiki>root@zare5:~# mdadm --create /dev/md2 --chunk=64 --level=6 --raid-devices=8 /dev/sdr /dev/sds /dev/sdt /dev/sdu /dev/sdv /dev/sdw /dev/sdx /dev/sdy

Revision as of 18:42, 30 April 2017

I put together storage for video for Cathedral Of Faith, where I also act as a volunteer camera operator.

Original Zare NAS setup 2010



Creation of md2, fs3

root@zare5:~# mdadm --create /dev/md2 --chunk=64 --level=6 --raid-devices=8 /dev/sdr /dev/sds /dev/sdt /dev/sdu /dev/sdv /dev/sdw /dev/sdx /dev/sdy

root@zare5:~# mkfs.xfs -d sunit=128,swidth=768 -f /dev/md2
meta-data=/dev/md2               isize=512    agcount=55, agsize=268435440 blks
         =                       sectsz=4096  attr=2, projid32bit=1
         =                       crc=1        finobt=1, sparse=0
data     =                       bsize=4096   blocks=14649458688, imaxpct=1
         =                       sunit=16     swidth=96 blks
naming   =version 2              bsize=4096   ascii-ci=0 ftype=1
log      =internal log           bsize=4096   blocks=521728, version=2
         =                       sectsz=4096  sunit=1 blks, lazy-count=1
realtime =none                   extsz=4096   blocks=0, rtextents=0


root@zare5:/etc# cat mdadm/mdadm.conf 
# auto-create devices with Debian standard permissions
CREATE owner=root group=disk mode=0660 auto=yes

# automatically tag new arrays as belonging to the local system
HOMEHOST <system>

# instruct the monitoring daemon where to send mail alerts

# definitions of existing MD arrays
ARRAY /dev/md/0 metadata=1.2 UUID=b7d27941:c794ebe6:8ee17e49:36839b35 name=zare5:0
ARRAY /dev/md/1 metadata=1.2 UUID=d78ab42d:0309f981:a1c345e7:77a699ca name=zare5:1


root@zare5:~# cat /proc/mdstat 
Personalities : [raid6] [raid5] [raid4] [linear] [multipath] [raid0] [raid1] [raid10] 
md0 : active raid6 sdf[4] sdd[2] sde[3] sdc[8] sdi[7] sdb[0] sdg[9] sdh[6]
      23441324160 blocks super 1.2 level 6, 64k chunk, algorithm 2 [8/8] [UUUUUUUU]
md1 : active raid6 sdj[0] sdm[3] sdq[7] sdk[8] sdl[2] sdo[4] sdp[6] sdn[9]
      23441324160 blocks super 1.2 level 6, 64k chunk, algorithm 2 [8/8] [UUUUUUUU]
unused devices: <none>