Any interests in Kernel 4.0 on My book live?


#204

In the original MBL, the disk partition layout is as follows:

  • sda1: ext2 root/boot filesystem (defined as volume 1 in soft raid group)
  • sda2: ext2 root/boot filesystem (defined as volume 2 in soft raid group)
  • sda3: swap space
  • sda4: ext4 filesystem for user shares

So if you kept the original disk layout, swap space is on sda3. If so, put this in /etc/fstab

/dev/sda3 swap swap defaults 0 0

and execute: swapon -a and verify with swapon -v


#205

Hello,

My disk is not original, I use Toshiba 6Tb Nas disk.

With 4.9x kernel it run well, but with 4.19 kernel don’t find swap partition.

My fstab is like this:

/dev/sda1 / ext3 defaults,noatime,nodiratime,barrier=1 0 0
/dev/sda2 swap swap defaults 0 0
/dev/sda3 /DataVolume ext4 exec,rw,noatime,nodiratime,data=writeba$
/DataVolume/cache /CacheVolume none defaults,bind 0 0
/DataVolume/shares /shares none defaults,bind 0 0
/DataVolume/shares /nfs none defaults,bind 0 0

And fdisk -l:

Disk identifier: F7833EA7-3BBF-9240-B669-8B7B7CB16BD3

Device Start End Sectors Size Type
/dev/sda1 2048 20973567 20971520 10G Linux filesystem
/dev/sda2 20973568 23070719 2097152 1G Linux swap
/dev/sda3 23070720 11721045134 11697974415 5,5T Linux filesystem


#206

Kernel 4.9.x has 64KB page size, while 4.19.x has 16KB page size (for now) due to a defect in the kernel which I have not fixed yet. Hence, you need to re-initialize swap space to match the new page size.

mkswap /dev/sda2

Sorry for the confusion and time lost. I will make sure to update the readme’s on the GitHub.


#207

No problem, I fun with test an error :slight_smile:

Someone has tried with btrfs of XFS filesystems?

I test both with 4.9.161 and I not sure that de cpu have problem to move. The options would be many with BTRFS on this device.