<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Shrink a SHR Volume and remove disks from a Synology	</title>
	<atom:link href="https://www.BeatificaBytes.be/shrink-a-shr-volume-and-remove-disks-from-a-synology/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.BeatificaBytes.be/shrink-a-shr-volume-and-remove-disks-from-a-synology/</link>
	<description>The Joys of Computing</description>
	<lastBuildDate>Wed, 04 Jan 2023 07:31:59 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8</generator>
	<item>
		<title>
		By: Valery Letroye		</title>
		<link>https://www.BeatificaBytes.be/shrink-a-shr-volume-and-remove-disks-from-a-synology/#comment-493</link>

		<dc:creator><![CDATA[Valery Letroye]]></dc:creator>
		<pubDate>Wed, 04 Jan 2023 07:31:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.beatificabytes.be/?p=4726#comment-493</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.BeatificaBytes.be/shrink-a-shr-volume-and-remove-disks-from-a-synology/#comment-492&quot;&gt;Ekinox&lt;/a&gt;.

Many thanks for your input!!

V.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.BeatificaBytes.be/shrink-a-shr-volume-and-remove-disks-from-a-synology/#comment-492">Ekinox</a>.</p>
<p>Many thanks for your input!!</p>
<p>V.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ekinox		</title>
		<link>https://www.BeatificaBytes.be/shrink-a-shr-volume-and-remove-disks-from-a-synology/#comment-492</link>

		<dc:creator><![CDATA[Ekinox]]></dc:creator>
		<pubDate>Tue, 03 Jan 2023 20:13:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.beatificabytes.be/?p=4726#comment-492</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.BeatificaBytes.be/shrink-a-shr-volume-and-remove-disks-from-a-synology/#comment-490&quot;&gt;lebeno&lt;/a&gt;.

There is a bug as the help says is supports T for tebibytes which is does not ; you have to specify the size in gibibytes (careful that 1 tebibyte = 1024 gibibytes)
You can display your volume size in gibibytes with 

# btrfs filesystem show --gbytes

For the second error that may be because it is tried to be wrongly interpreted as an argument.
I had the same issue and worked around by specifying the target size instead.

# btrfs resize filesystem 18232G /volume1

Everything went fine this way.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.BeatificaBytes.be/shrink-a-shr-volume-and-remove-disks-from-a-synology/#comment-490">lebeno</a>.</p>
<p>There is a bug as the help says is supports T for tebibytes which is does not ; you have to specify the size in gibibytes (careful that 1 tebibyte = 1024 gibibytes)<br />
You can display your volume size in gibibytes with </p>
<p># btrfs filesystem show &#8211;gbytes</p>
<p>For the second error that may be because it is tried to be wrongly interpreted as an argument.<br />
I had the same issue and worked around by specifying the target size instead.</p>
<p># btrfs resize filesystem 18232G /volume1</p>
<p>Everything went fine this way.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Valery Letroye		</title>
		<link>https://www.BeatificaBytes.be/shrink-a-shr-volume-and-remove-disks-from-a-synology/#comment-491</link>

		<dc:creator><![CDATA[Valery Letroye]]></dc:creator>
		<pubDate>Tue, 11 Oct 2022 18:30:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.beatificabytes.be/?p=4726#comment-491</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.BeatificaBytes.be/shrink-a-shr-volume-and-remove-disks-from-a-synology/#comment-490&quot;&gt;lebeno&lt;/a&gt;.

Unfortunatelly, I can&#039;t help. Your command seems correct. Really no clue what&#039;s wrong.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.BeatificaBytes.be/shrink-a-shr-volume-and-remove-disks-from-a-synology/#comment-490">lebeno</a>.</p>
<p>Unfortunatelly, I can&#8217;t help. Your command seems correct. Really no clue what&#8217;s wrong.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: lebeno		</title>
		<link>https://www.BeatificaBytes.be/shrink-a-shr-volume-and-remove-disks-from-a-synology/#comment-490</link>

		<dc:creator><![CDATA[lebeno]]></dc:creator>
		<pubDate>Tue, 04 Oct 2022 06:56:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.beatificabytes.be/?p=4726#comment-490</guid>

					<description><![CDATA[The &quot;btrfs filesystem resize&quot; command does not want to work on my Synology DS1517 running DSM 6.2.4-25556 Update 6:

root@ds1517:~# df -h
Filesystem         Size  Used Avail Use% Mounted on
/dev/vg1/volume_1  7.3T  4.0T  3.3T  56% /volume1

root@ds1517:~# btrfs filesystem resize 5T /volume1
Resize &#039;/volume1&#039; of &#039;5T&#039;
ERROR: unable to resize &#039;/volume1&#039;: Invalid argument

root@ds1517:~# btrfs filesystem resize -3T /volume1
btrfs filesystem resize: invalid option -- &#039;3&#039;
usage: btrfs filesystem resize [devid:][+[?]/-][kKmMgGtTpPeE]&#124;[devid:]max 

    Resize a filesystem

    If &#039;max&#039; is passed, the filesystem will occupy all available space
    on the device &#039;devid&#039;.
    [kK] means KiB, which denotes 1KiB = 1024B, 1MiB = 1024KiB, etc.
    If &#039;+&#039; is followed by &#039;?&#039;, it is dry-run mode to query if it can expand for
    a specific size]]></description>
			<content:encoded><![CDATA[<p>The &#8220;btrfs filesystem resize&#8221; command does not want to work on my Synology DS1517 running DSM 6.2.4-25556 Update 6:</p>
<p>root@ds1517:~# df -h<br />
Filesystem         Size  Used Avail Use% Mounted on<br />
/dev/vg1/volume_1  7.3T  4.0T  3.3T  56% /volume1</p>
<p>root@ds1517:~# btrfs filesystem resize 5T /volume1<br />
Resize &#8216;/volume1&#8217; of &#8216;5T&#8217;<br />
ERROR: unable to resize &#8216;/volume1&#8217;: Invalid argument</p>
<p>root@ds1517:~# btrfs filesystem resize -3T /volume1<br />
btrfs filesystem resize: invalid option &#8212; &#8216;3&#8217;<br />
usage: btrfs filesystem resize [devid:][+[?]/-][kKmMgGtTpPeE]|[devid:]max </p>
<p>    Resize a filesystem</p>
<p>    If &#8216;max&#8217; is passed, the filesystem will occupy all available space<br />
    on the device &#8216;devid&#8217;.<br />
    [kK] means KiB, which denotes 1KiB = 1024B, 1MiB = 1024KiB, etc.<br />
    If &#8216;+&#8217; is followed by &#8216;?&#8217;, it is dry-run mode to query if it can expand for<br />
    a specific size</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Zsolt		</title>
		<link>https://www.BeatificaBytes.be/shrink-a-shr-volume-and-remove-disks-from-a-synology/#comment-489</link>

		<dc:creator><![CDATA[Zsolt]]></dc:creator>
		<pubDate>Thu, 17 Dec 2020 16:01:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.beatificabytes.be/?p=4726#comment-489</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.BeatificaBytes.be/shrink-a-shr-volume-and-remove-disks-from-a-synology/#comment-488&quot;&gt;Valery Letroye&lt;/a&gt;.

It is more than 10TB ... so I decided remove these disks and restore what I can.

Thank you anyway!

Have a great Holidays :)]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.BeatificaBytes.be/shrink-a-shr-volume-and-remove-disks-from-a-synology/#comment-488">Valery Letroye</a>.</p>
<p>It is more than 10TB &#8230; so I decided remove these disks and restore what I can.</p>
<p>Thank you anyway!</p>
<p>Have a great Holidays 🙂</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Valery Letroye		</title>
		<link>https://www.BeatificaBytes.be/shrink-a-shr-volume-and-remove-disks-from-a-synology/#comment-488</link>

		<dc:creator><![CDATA[Valery Letroye]]></dc:creator>
		<pubDate>Tue, 15 Dec 2020 20:44:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.beatificabytes.be/?p=4726#comment-488</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.BeatificaBytes.be/shrink-a-shr-volume-and-remove-disks-from-a-synology/#comment-487&quot;&gt;Zsolt&lt;/a&gt;.

Your partition is a 1.5TB, right? I guess it can take several days to be resized based on my experience with similar operations on large disks.
That being said, I really hope it will work (and you have a backup ?!). My attempts here above were successful but all experimental (and with smal disks)!
 
Wait as long as you can before stopping the process as it would nuke the partition (quite sure)
And, unfortunatelly, I didn&#039;t experiment yet how to restore the partition into its initial state after an aborted resized...

V.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.BeatificaBytes.be/shrink-a-shr-volume-and-remove-disks-from-a-synology/#comment-487">Zsolt</a>.</p>
<p>Your partition is a 1.5TB, right? I guess it can take several days to be resized based on my experience with similar operations on large disks.<br />
That being said, I really hope it will work (and you have a backup ?!). My attempts here above were successful but all experimental (and with smal disks)!</p>
<p>Wait as long as you can before stopping the process as it would nuke the partition (quite sure)<br />
And, unfortunatelly, I didn&#8217;t experiment yet how to restore the partition into its initial state after an aborted resized&#8230;</p>
<p>V.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Zsolt		</title>
		<link>https://www.BeatificaBytes.be/shrink-a-shr-volume-and-remove-disks-from-a-synology/#comment-487</link>

		<dc:creator><![CDATA[Zsolt]]></dc:creator>
		<pubDate>Tue, 15 Dec 2020 07:18:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.beatificabytes.be/?p=4726#comment-487</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.BeatificaBytes.be/shrink-a-shr-volume-and-remove-disks-from-a-synology/#comment-486&quot;&gt;Valery Letroye&lt;/a&gt;.

Dear Valery,

I hope you are doing well.

I received this one after execute &quot;e2fsck -f /dev/vg1000/lv&quot;

If I hit &quot;yes&quot; to abort I can not execute &quot;resize2fs -M /dev/vg1000/lv&quot; so I selected &quot;no&quot;, then it asks to fix it or not.
Well I had to put a small weight on the &quot;y&quot; button and it is running since yesterday afternoon (more than 12 hours already).

At this point I think I lost all my data on the volume, am I right?]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.BeatificaBytes.be/shrink-a-shr-volume-and-remove-disks-from-a-synology/#comment-486">Valery Letroye</a>.</p>
<p>Dear Valery,</p>
<p>I hope you are doing well.</p>
<p>I received this one after execute &#8220;e2fsck -f /dev/vg1000/lv&#8221;</p>
<p>If I hit &#8220;yes&#8221; to abort I can not execute &#8220;resize2fs -M /dev/vg1000/lv&#8221; so I selected &#8220;no&#8221;, then it asks to fix it or not.<br />
Well I had to put a small weight on the &#8220;y&#8221; button and it is running since yesterday afternoon (more than 12 hours already).</p>
<p>At this point I think I lost all my data on the volume, am I right?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Valery Letroye		</title>
		<link>https://www.BeatificaBytes.be/shrink-a-shr-volume-and-remove-disks-from-a-synology/#comment-486</link>

		<dc:creator><![CDATA[Valery Letroye]]></dc:creator>
		<pubDate>Tue, 15 Dec 2020 06:58:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.beatificabytes.be/?p=4726#comment-486</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.BeatificaBytes.be/shrink-a-shr-volume-and-remove-disks-from-a-synology/#comment-485&quot;&gt;Zsolt&lt;/a&gt;.

I have unfortunately no experience with this error yet...

At which step are you in the process? Did you already resize the partition?

If you did, you can try one of those two fixes: https://www.linuxquestions.org/questions/blog/kostya-519950/fixing-superblock-problems-4012/]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.BeatificaBytes.be/shrink-a-shr-volume-and-remove-disks-from-a-synology/#comment-485">Zsolt</a>.</p>
<p>I have unfortunately no experience with this error yet&#8230;</p>
<p>At which step are you in the process? Did you already resize the partition?</p>
<p>If you did, you can try one of those two fixes: <a href="https://www.linuxquestions.org/questions/blog/kostya-519950/fixing-superblock-problems-4012/" rel="nofollow ugc">https://www.linuxquestions.org/questions/blog/kostya-519950/fixing-superblock-problems-4012/</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Zsolt		</title>
		<link>https://www.BeatificaBytes.be/shrink-a-shr-volume-and-remove-disks-from-a-synology/#comment-485</link>

		<dc:creator><![CDATA[Zsolt]]></dc:creator>
		<pubDate>Mon, 14 Dec 2020 11:41:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.beatificabytes.be/?p=4726#comment-485</guid>

					<description><![CDATA[Hello There,

I&#039;m stucked here
e2fsck 1.42.6 (21-Sep-2012)
The filesystem size (according to the superblock) is 3168398336 blocks
The physical size of the device is 3045227520 blocks
Either the superblock or the partition table is likely to be corrupt!
Abort? yes

What can I do in this situation?

Thank you in advance]]></description>
			<content:encoded><![CDATA[<p>Hello There,</p>
<p>I&#8217;m stucked here<br />
e2fsck 1.42.6 (21-Sep-2012)<br />
The filesystem size (according to the superblock) is 3168398336 blocks<br />
The physical size of the device is 3045227520 blocks<br />
Either the superblock or the partition table is likely to be corrupt!<br />
Abort? yes</p>
<p>What can I do in this situation?</p>
<p>Thank you in advance</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
