<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://wiki.janforman.com/lib/exe/css.php?s=feed" type="text/css"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>wiki.janforman.com storage</title>
    <subtitle></subtitle>
    <link rel="alternate" type="text/html" href="https://wiki.janforman.com/"/>
    <id>https://wiki.janforman.com/</id>
    <updated>2026-04-18T14:18:31+00:00</updated>
    <generator>FeedCreator 1.8 (info@mypapit.net)</generator>
    <link rel="self" type="application/atom+xml" href="https://wiki.janforman.com/feed.php" />
    <entry>
        <title>storage:calculators</title>
        <link rel="alternate" type="text/html" href="https://wiki.janforman.com/storage:calculators"/>
        <published>2018-01-28T21:36:43+00:00</published>
        <updated>2018-01-28T21:36:43+00:00</updated>
        <id>https://wiki.janforman.com/storage:calculators</id>
        <author>
            <name>Anonymous</name>
            <email>anonymous@undisclosed.example.com</email>
        </author>
        <category  term="storage" />
        <content>RAID / Hybrid

&lt;https://www.synology.com/en-global/support/RAID_calculator&gt;

&lt;http://rdconfigurator.netgear.com/raid/index.html&gt;


ZFS

&lt;http://wintelguy.com/zfs-calc.pl&gt;

RAID-5 Reconstruction</content>
        <summary>RAID / Hybrid

&lt;https://www.synology.com/en-global/support/RAID_calculator&gt;

&lt;http://rdconfigurator.netgear.com/raid/index.html&gt;


ZFS

&lt;http://wintelguy.com/zfs-calc.pl&gt;

RAID-5 Reconstruction</summary>
    </entry>
    <entry>
        <title>storage:ceph</title>
        <link rel="alternate" type="text/html" href="https://wiki.janforman.com/storage:ceph"/>
        <published>2025-01-21T14:54:52+00:00</published>
        <updated>2025-01-21T14:54:52+00:00</updated>
        <id>https://wiki.janforman.com/storage:ceph</id>
        <author>
            <name>Anonymous</name>
            <email>anonymous@undisclosed.example.com</email>
        </author>
        <category  term="storage" />
        <content>PetaSAN

Ceph for dummies
&lt;http://www.petasan.org/&gt;

Clean S3 pool

radosgw-admin gc process --include-all

Ansible

&lt;https://docs.ceph.com/projects/ceph-ansible/en/latest/&gt;

List all pools

ceph osd pool ls detail

OSD disk free

ceph osd df tree

CEPH rebalance

ceph osd reweight-by-utilization

Check OSD Blocklist

ceph osd blocklist ls
ceph osd blocklist rm 127.0.0.1:0/3710147553</content>
        <summary>PetaSAN

Ceph for dummies
&lt;http://www.petasan.org/&gt;

Clean S3 pool

radosgw-admin gc process --include-all

Ansible

&lt;https://docs.ceph.com/projects/ceph-ansible/en/latest/&gt;

List all pools

ceph osd pool ls detail

OSD disk free

ceph osd df tree

CEPH rebalance

ceph osd reweight-by-utilization

Check OSD Blocklist

ceph osd blocklist ls
ceph osd blocklist rm 127.0.0.1:0/3710147553</summary>
    </entry>
    <entry>
        <title>storage:legacy</title>
        <link rel="alternate" type="text/html" href="https://wiki.janforman.com/storage:legacy"/>
        <published>2021-03-08T14:29:24+00:00</published>
        <updated>2021-03-08T14:29:24+00:00</updated>
        <id>https://wiki.janforman.com/storage:legacy</id>
        <author>
            <name>Anonymous</name>
            <email>anonymous@undisclosed.example.com</email>
        </author>
        <category  term="storage" />
        <content>Multipath


yum install device-mapper-multipath


Mapping point

/dev/mapper/mpathN

Initialize multipath.conf

mpathconf --enable --user_friendly_names y

Default Blacklist


blacklist {     
  devnode &quot;^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*&quot;     
 }</content>
        <summary>Multipath


yum install device-mapper-multipath


Mapping point

/dev/mapper/mpathN

Initialize multipath.conf

mpathconf --enable --user_friendly_names y

Default Blacklist


blacklist {     
  devnode &quot;^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*&quot;     
 }</summary>
    </entry>
    <entry>
        <title>storage:lvm</title>
        <link rel="alternate" type="text/html" href="https://wiki.janforman.com/storage:lvm"/>
        <published>2019-10-15T17:05:55+00:00</published>
        <updated>2019-10-15T17:05:55+00:00</updated>
        <id>https://wiki.janforman.com/storage:lvm</id>
        <author>
            <name>Anonymous</name>
            <email>anonymous@undisclosed.example.com</email>
        </author>
        <category  term="storage" />
        <content>Create partitions

fdisk - create partitions with 8e code (LVM)



# fdisk /dev/sdc


Create physical volumes

# pvcreate /dev/sdb1 /dev/sdc1


# pvdisplay
# pvs
# pvremove /dev/sdb1 /dev/sdc1 //-wipe previous content
# pvresize


Create Volume Group</content>
        <summary>Create partitions

fdisk - create partitions with 8e code (LVM)



# fdisk /dev/sdc


Create physical volumes

# pvcreate /dev/sdb1 /dev/sdc1


# pvdisplay
# pvs
# pvremove /dev/sdb1 /dev/sdc1 //-wipe previous content
# pvresize


Create Volume Group</summary>
    </entry>
    <entry>
        <title>storage:minio</title>
        <link rel="alternate" type="text/html" href="https://wiki.janforman.com/storage:minio"/>
        <published>2025-07-08T11:06:17+00:00</published>
        <updated>2025-07-08T11:06:17+00:00</updated>
        <id>https://wiki.janforman.com/storage:minio</id>
        <author>
            <name>Anonymous</name>
            <email>anonymous@undisclosed.example.com</email>
        </author>
        <category  term="storage" />
        <content>MinIO download</content>
        <summary>MinIO download</summary>
    </entry>
    <entry>
        <title>storage:nextcloud</title>
        <link rel="alternate" type="text/html" href="https://wiki.janforman.com/storage:nextcloud"/>
        <published>2024-03-06T15:38:33+00:00</published>
        <updated>2024-03-06T15:38:33+00:00</updated>
        <id>https://wiki.janforman.com/storage:nextcloud</id>
        <author>
            <name>Anonymous</name>
            <email>anonymous@undisclosed.example.com</email>
        </author>
        <category  term="storage" />
        <content>Nextcloud

Speedup browsing

occ config:app:set text workspace_available --value=0

NGINX


php-fpm
sudo systemctl enable php7.3-fpm
sudo apt install php7.3-sqlite php7.3-xml php7.3-zip php7.3-mbstring php7.3-gd php7.3-curl php7.3-intl php7.3-imagick</content>
        <summary>Nextcloud

Speedup browsing

occ config:app:set text workspace_available --value=0

NGINX


php-fpm
sudo systemctl enable php7.3-fpm
sudo apt install php7.3-sqlite php7.3-xml php7.3-zip php7.3-mbstring php7.3-gd php7.3-curl php7.3-intl php7.3-imagick</summary>
    </entry>
    <entry>
        <title>storage:readynas</title>
        <link rel="alternate" type="text/html" href="https://wiki.janforman.com/storage:readynas"/>
        <published>2024-01-07T01:24:09+00:00</published>
        <updated>2024-01-07T01:24:09+00:00</updated>
        <id>https://wiki.janforman.com/storage:readynas</id>
        <author>
            <name>Anonymous</name>
            <email>anonymous@undisclosed.example.com</email>
        </author>
        <category  term="storage" />
        <content>ReadyNAS 5 OS (ARM)

NETGEAR ReadyNAS Duo V2

Enable TLS 1.2 Support

Connect with old browser and install this package.
Apache 2.2.34 /w TLS 1.2 update 
Enable Samba 2 Support + Network Browsing

This will enable SMBv2 protocol on ReadyNAS Duo v2.
Samba 3.6.25 update WSDD2 arm32 binary 
You may start WSDD2 from /etc/init.d/readynas_startup for netbrowsing with SMBv2</content>
        <summary>ReadyNAS 5 OS (ARM)

NETGEAR ReadyNAS Duo V2

Enable TLS 1.2 Support

Connect with old browser and install this package.
Apache 2.2.34 /w TLS 1.2 update 
Enable Samba 2 Support + Network Browsing

This will enable SMBv2 protocol on ReadyNAS Duo v2.
Samba 3.6.25 update WSDD2 arm32 binary 
You may start WSDD2 from /etc/init.d/readynas_startup for netbrowsing with SMBv2</summary>
    </entry>
    <entry>
        <title>storage:s3</title>
        <link rel="alternate" type="text/html" href="https://wiki.janforman.com/storage:s3"/>
        <published>2025-03-19T09:52:37+00:00</published>
        <updated>2025-03-19T09:52:37+00:00</updated>
        <id>https://wiki.janforman.com/storage:s3</id>
        <author>
            <name>Anonymous</name>
            <email>anonymous@undisclosed.example.com</email>
        </author>
        <category  term="storage" />
        <content>Amazon S3 compatible service

Public access S3 bucket


{
  &quot;Version&quot;: &quot;2012-10-17&quot;,
  &quot;Statement&quot;: [
    {
      &quot;Sid&quot;: &quot;AllowPublicRead&quot;,
      &quot;Effect&quot;: &quot;Allow&quot;,
      &quot;Principal&quot;: {
        &quot;AWS&quot;: &quot;*&quot;
      },
      &quot;Action&quot;: [
        &quot;s3:GetObject&quot;
      ],
      &quot;Resource&quot;: [
        &quot;arn:aws:s3:::s3-oob/*&quot;
      ]
    }
  ]
}</content>
        <summary>Amazon S3 compatible service

Public access S3 bucket


{
  &quot;Version&quot;: &quot;2012-10-17&quot;,
  &quot;Statement&quot;: [
    {
      &quot;Sid&quot;: &quot;AllowPublicRead&quot;,
      &quot;Effect&quot;: &quot;Allow&quot;,
      &quot;Principal&quot;: {
        &quot;AWS&quot;: &quot;*&quot;
      },
      &quot;Action&quot;: [
        &quot;s3:GetObject&quot;
      ],
      &quot;Resource&quot;: [
        &quot;arn:aws:s3:::s3-oob/*&quot;
      ]
    }
  ]
}</summary>
    </entry>
    <entry>
        <title>storage:smr</title>
        <link rel="alternate" type="text/html" href="https://wiki.janforman.com/storage:smr"/>
        <published>2024-02-21T08:47:39+00:00</published>
        <updated>2024-02-21T08:47:39+00:00</updated>
        <id>https://wiki.janforman.com/storage:smr</id>
        <author>
            <name>Anonymous</name>
            <email>anonymous@undisclosed.example.com</email>
        </author>
        <category  term="storage" />
        <content>Shingled magnetic recording (SMR)

Acceptable storage systems: F2FS, exFAT, CEPH, RAID1

Unacceptable: RAID 5 etc, NTFS, Ext4, ...

How to format 8TB SMR Drive


mkfs.f2fs -s64 -o0 -t0 -a0 /dev/sda1
mount -t f2fs -onoinline_data,noatime,flush_merge,no_heap,extent_cache,noacl,active_logs=2 /dev/sda1 /mnt</content>
        <summary>Shingled magnetic recording (SMR)

Acceptable storage systems: F2FS, exFAT, CEPH, RAID1

Unacceptable: RAID 5 etc, NTFS, Ext4, ...

How to format 8TB SMR Drive


mkfs.f2fs -s64 -o0 -t0 -a0 /dev/sda1
mount -t f2fs -onoinline_data,noatime,flush_merge,no_heap,extent_cache,noacl,active_logs=2 /dev/sda1 /mnt</summary>
    </entry>
    <entry>
        <title>storage:technology</title>
        <link rel="alternate" type="text/html" href="https://wiki.janforman.com/storage:technology"/>
        <published>2019-09-18T14:52:10+00:00</published>
        <updated>2019-09-18T14:52:10+00:00</updated>
        <id>https://wiki.janforman.com/storage:technology</id>
        <author>
            <name>Anonymous</name>
            <email>anonymous@undisclosed.example.com</email>
        </author>
        <category  term="storage" />
        <content>SSD

PMR

SMR

The drive has band size between 15 - 40MB in size

Cache is 25GB in size

IO Scheduler: NOOP



Skylight—A Window on Shingled Disk Operation


Evolving Ext4 for Shingled Disks

tune2fs -O ^has_journal

tune2fs -j /dev/hdbX</content>
        <summary>SSD

PMR

SMR

The drive has band size between 15 - 40MB in size

Cache is 25GB in size

IO Scheduler: NOOP



Skylight—A Window on Shingled Disk Operation


Evolving Ext4 for Shingled Disks

tune2fs -O ^has_journal

tune2fs -j /dev/hdbX</summary>
    </entry>
</feed>
