Latest News:
2018-12-21: XigmaNAS 11.2.0.4.6315 - released!

We really need "Your" help on XigmaNAS https://translations.launchpad.net/xigmanas translations. Please help today!

Producing and hosting XigmaNAS cost money, please consider a donation to our project so we can continue to offer you the best.
We need your support! eg: PAYPAL

MOVE SWAP FILE FROM USB TO A LOCAL DISK ( EMBEDDED SYSTEM )

Filesystems(UFS, EXT2, FAT, NTFS, ZFS), mount points, partitions
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
Transistor1
NewUser
NewUser
Posts: 9
Joined: 19 Jun 2015 14:04
Status: Offline

MOVE SWAP FILE FROM USB TO A LOCAL DISK ( EMBEDDED SYSTEM )

#1

Post by Transistor1 » 04 Jan 2019 23:24

Hi to all...
I recently installed latest version.. 11.2.0.4 - Omnius (revision 6315).. Clean installation of the embedded variant.
I came from an old version 9.2 Shigawire..

I followed the guide and a swap partition was created at my boot usb stick ( doesn't seem to have the option to place it at my HDD ), but afterwards i read that read - write operations might destroy it..

I created a swap file ( not partition ) at a local HDD..

My question is simple..

How can i discard the swap partition in usb stick and enable it at the swap file i created at my HDD?

Is it possible to make the system boot using the swap file? ( not the usb partition )

Thanks for any answer.. :)

User avatar
Snufkin
Advanced User
Advanced User
Posts: 256
Joined: 01 Jul 2012 11:27
Location: Etc/GMT-3 (BSD style)
Status: Offline

Re: MOVE SWAP FILE FROM USB TO A LOCAL DISK ( EMBEDDED SYSTEM )

#2

Post by Snufkin » 04 Jan 2019 23:30

See XigmaNAS wiki page.
XNAS 11.2.0.4.6315 embedded, ASUS P5B-E, Intel DC E6600, 4 GB DDR2, 2 x HGST HDN726040ALE614, 2 x WDC WD5000AAKS, Ippon Back Power Pro 400

Transistor1
NewUser
NewUser
Posts: 9
Joined: 19 Jun 2015 14:04
Status: Offline

Re: MOVE SWAP FILE FROM USB TO A LOCAL DISK ( EMBEDDED SYSTEM )

#3

Post by Transistor1 » 04 Jan 2019 23:46

Thanks a lot Snufkin!!!
I didn't notice these settings at all..
the system created a swap at /dev/md3 .. I guess it is at my HDD.
Is there a way to see where the /dev/md3, refers to?

User avatar
Snufkin
Advanced User
Advanced User
Posts: 256
Joined: 01 Jul 2012 11:27
Location: Etc/GMT-3 (BSD style)
Status: Offline

Re: MOVE SWAP FILE FROM USB TO A LOCAL DISK ( EMBEDDED SYSTEM )

#4

Post by Snufkin » 04 Jan 2019 23:53

Transistor1 wrote:
04 Jan 2019 23:46
the system created a swap at /dev/md3 .. I guess it is at my HDD.
Transistor1 wrote:
04 Jan 2019 23:24
I created a swap file ( not partition ) at a local HDD..
And who created the file? ;)

Try Diagnostics | Information
  • Disks
  • Disks (Info)
  • Partitions (fdisk output)
  • Mount points
XNAS 11.2.0.4.6315 embedded, ASUS P5B-E, Intel DC E6600, 4 GB DDR2, 2 x HGST HDN726040ALE614, 2 x WDC WD5000AAKS, Ippon Back Power Pro 400

Transistor1
NewUser
NewUser
Posts: 9
Joined: 19 Jun 2015 14:04
Status: Offline

Re: MOVE SWAP FILE FROM USB TO A LOCAL DISK ( EMBEDDED SYSTEM )

#5

Post by Transistor1 » 05 Jan 2019 00:14

/dev/md3 refers to the file i created, giving some commands manually
I named the file swap0..
Is this the file that is used now?
or i must delete it to gain the 2GB space?

Post Reply

Return to “Basic storage concept”