<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.alpinelinux.org/w/index.php?action=history&amp;feed=atom&amp;title=Data_Disk_Mode</id>
	<title>Data Disk Mode - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.alpinelinux.org/w/index.php?action=history&amp;feed=atom&amp;title=Data_Disk_Mode"/>
	<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Data_Disk_Mode&amp;action=history"/>
	<updated>2026-05-05T13:24:52Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Data_Disk_Mode&amp;diff=32337&amp;oldid=prev</id>
		<title>WhyNotHugo: /* See Also */ System Disk Mode</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Data_Disk_Mode&amp;diff=32337&amp;oldid=prev"/>
		<updated>2026-04-20T16:08:23Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;See Also: &lt;/span&gt; System Disk Mode&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:08, 20 April 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l22&quot;&gt;Line 22:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 22:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[QEMU#Live_mode|QEMU Diskless example]]  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[QEMU#Live_mode|QEMU Diskless example]]  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Alpine local backup#Include special files.2Ffolders to the apkovl|Include special files section]] - To include custom files outside of &amp;lt;code&amp;gt;/etc&amp;lt;/code&amp;gt; in .apkovl file.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Alpine local backup#Include special files.2Ffolders to the apkovl|Include special files section]] - To include custom files outside of &amp;lt;code&amp;gt;/etc&amp;lt;/code&amp;gt; in .apkovl file.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [[System Disk Mode]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Diskless]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Diskless]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>WhyNotHugo</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Data_Disk_Mode&amp;diff=27716&amp;oldid=prev</id>
		<title>Prabuanand: created new page and moved content from Setting_up_disks_manually page</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Data_Disk_Mode&amp;diff=27716&amp;oldid=prev"/>
		<updated>2024-11-04T06:19:43Z</updated>

		<summary type="html">&lt;p&gt;created new page and moved content from Setting_up_disks_manually page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;In Data Disk mode also the operating system runs from system RAM, thus it enjoys the same accelerated operation speed as [[Diskless Mode|diskless]] mode. However, swap storage and the entire {{Path|/var}} directory tree get mounted from a persistent storage device (two newly created partitions). The directory {{Path|/var}} holds e.g. all log files, mailspools, databases, etc., as well as &amp;lt;code&amp;gt;[[Alpine_local_backup|lbu]]&amp;lt;/code&amp;gt; backup commits and the package cache. This mode is useful for having RAM accelerated servers with variable amounts of user-data that exceed the available RAM size. It enables the entire current system state (not just the boot state) to survive a system crash in accordance with the particular filesystem guarantees. &lt;br /&gt;
&lt;br /&gt;
== Installation  ==&lt;br /&gt;
{{Seealso|Diskless Mode}}&lt;br /&gt;
Following the [[Installation#Installation_Step_Details|Installation steps]] to complete the [[Installation#Base_configuration|base configuration]] completes the pre-setup of [[Diskless_Mode|&amp;quot;diskless&amp;quot;]] Alpine Linux system. In data disk mode, the boot device may also remain the initial (and possibly read-only) installation media, or be copied to a partition (e.g. /dev/sdXY) with &amp;lt;code&amp;gt;[[Alpine_setup_scripts#setup-bootable|setup-bootable]]&amp;lt;/code&amp;gt;. Refer [[Create_a_Bootable_Device|Creating a bootable device]] for creating a bootable medium to boot the Data Disk Mode Installation.&lt;br /&gt;
&lt;br /&gt;
As per Bug: [https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10474 #10474], &amp;lt;Code&amp;gt;setup-alpine&amp;lt;/Code&amp;gt; script will create the data partition and mount it as /var, but &amp;#039;&amp;#039;&amp;#039;setup-alpine&amp;#039;s &amp;quot;data&amp;quot; disk mode can not yet configure lbu config storage settings automatically&amp;#039;&amp;#039;&amp;#039;. The &amp;#039;&amp;#039;&amp;#039;current workaround&amp;#039;&amp;#039;&amp;#039;, is to select &amp;quot;none&amp;quot; at the &amp;#039;where to store configs&amp;#039; prompt (as the new data partition is not listed anyway) and configure lbu manually after &amp;lt;code&amp;gt;[[Alpine_setup_scripts#setup-alpine|setup-alpine]]&amp;lt;/code&amp;gt; exits, and before rebooting:&lt;br /&gt;
&lt;br /&gt;
# Identify the created data partition, e.g. &amp;lt;code&amp;gt;/dev/sd&amp;#039;&amp;#039;XY&amp;#039;&amp;#039;&amp;lt;/code&amp;gt;, and its filesystemtype, e.g. using &amp;lt;code&amp;gt;&amp;#039;&amp;#039;lsblk&amp;#039;&amp;#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
# Manually edit the lbu backups location in &amp;lt;code&amp;gt;/etc/lbu/lbu.conf&amp;lt;/code&amp;gt; and configure &amp;lt;code&amp;gt;LBU_MEDIA=sd&amp;#039;&amp;#039;XY&amp;#039;&amp;#039;&amp;lt;/code&amp;gt; (according to the previous findings).&lt;br /&gt;
# Save the configuration on that partition for the next boot with &amp;lt;code&amp;gt;lbu commit&amp;lt;/code&amp;gt;.&lt;br /&gt;
# If (a new) partition fails to get mounted, execute: &amp;lt;code&amp;gt;mkdir /media/&amp;#039;&amp;#039;sdXY&amp;#039;&amp;#039; ; echo &amp;quot;/dev/sd&amp;#039;&amp;#039;XY&amp;#039;&amp;#039; /media/sd&amp;#039;&amp;#039;XY&amp;#039;&amp;#039; &amp;#039;&amp;#039;fstype&amp;#039;&amp;#039; noauto,rw 0 0&amp;quot; &amp;gt;&amp;gt; /etc/fstab&amp;lt;/code&amp;gt;, and try &amp;lt;code&amp;gt;lbu commit&amp;lt;/code&amp;gt; again.&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
* [[Alpine_local_backup|Alpine Local backup Utility - &amp;#039;&amp;#039;lbu&amp;#039;&amp;#039;&amp;#039;]]&lt;br /&gt;
* [[Alpine_Package_Keeper#Local_Cache|Local package cache]]&lt;br /&gt;
* [[Manually editing a existing apkovl]]&lt;br /&gt;
* [[Back Up a Flash Memory Installation]]&lt;br /&gt;
* [[Upgrading_Alpine#Upgrading_Alpine_Linux_on_other_removable_media_(such_as_CF/USB)|Upgrading Diskless to New Alpine Linux Release]]&lt;br /&gt;
* [[PXE boot#Specifying an apkovl|Diskless PXE Boot]]&lt;br /&gt;
* [[How to make a custom ISO image with mkimage]]&lt;br /&gt;
* [[QEMU#Live_mode|QEMU Diskless example]] &lt;br /&gt;
* [[Alpine local backup#Include special files.2Ffolders to the apkovl|Include special files section]] - To include custom files outside of &amp;lt;code&amp;gt;/etc&amp;lt;/code&amp;gt; in .apkovl file.&lt;br /&gt;
&lt;br /&gt;
[[Category:Diskless]]&lt;/div&gt;</summary>
		<author><name>Prabuanand</name></author>
	</entry>
</feed>