You are not logged in.

#1 2017-06-25 20:26:01

Yashalta
Member
Registered: 2017-05-28
Posts: 49

[SOLVED] How to activate "Optimized mode for SSD" on btrfs?

Hi,
I somewhere read that optimized mode for SSD activated when mounting with option -o ssd
I have an SSD and on it installed Archlinux on the btrfs file system.
But I do not know how to activate correctly "Optimized mode for SSD".
Where I read there were no examples of how to implement it! 
Can someone write a correctly full command?

Last edited by Yashalta (2017-06-25 21:29:46)

Offline

#2 2017-06-25 20:31:49

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] How to activate "Optimized mode for SSD" on btrfs?

Post the contents of /etc/fstab, as well as the output of mount. I'm betting that it's already configured.

Last edited by Slithery (2017-06-25 20:37:22)


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2017-06-25 21:18:45

Yashalta
Member
Registered: 2017-05-28
Posts: 49

Re: [SOLVED] How to activate "Optimized mode for SSD" on btrfs?

slithery wrote:

Post the contents of /etc/fstab, as well as the output of mount. I'm betting that it's already configured.

The /etc/fstab

# 
# /etc/fstab: static file system information
#
# <file system>	<dir>	<type>	<options>	<dump>	<pass>
# /dev/sda LABEL=WD
UUID=43cc1d04-8a70-4eff-a6c7-28d4682c7b12	/         	btrfs     	rw,relatime,compress=lzo,ssd,space_cache,autodefrag,subvolid=257,subvol=/root,subvol=root	0 0

# /dev/sda LABEL=WD
UUID=43cc1d04-8a70-4eff-a6c7-28d4682c7b12	/home     	btrfs     	rw,relatime,compress=lzo,ssd,space_cache,autodefrag,subvolid=258,subvol=/home,subvol=home	0 0

 

and the output of mount

i3 ~ $ mount
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sys on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
dev on /dev type devtmpfs (rw,nosuid,relatime,size=1949316k,nr_inodes=487329,mode=755)
run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
/dev/sda on / type btrfs (rw,relatime,compress=lzo,ssd,space_cache,autodefrag,subvolid=282,subvol=/root)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=30,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
/dev/sda on /home type btrfs (rw,relatime,compress=lzo,ssd,space_cache,autodefrag,subvolid=258,subvol=/home)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=391096k,mode=700,uid=1000,gid=100)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)
/dev/sda on /mnt type btrfs (rw,relatime,compress=lzo,ssd,space_cache,autodefrag,subvolid=5,subvol=/)
i3 ~ $ 
  

Last edited by Yashalta (2017-06-25 21:23:38)

Offline

#4 2017-06-25 21:21:14

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] How to activate "Optimized mode for SSD" on btrfs?

As you can see the ssd option is already configured (it's in the options in fstab and the output of mount).

Please remember to mark this thread as [SOLVED]

Last edited by Slithery (2017-06-25 21:23:27)


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#5 2017-06-25 21:27:17

Yashalta
Member
Registered: 2017-05-28
Posts: 49

Re: [SOLVED] How to activate "Optimized mode for SSD" on btrfs?

slithery wrote:

As you can see the ssd option is already configured (it's in the options in fstab and the output of mount).

Please remember to mark this thread as [SOLVED]

I don't understand, what indicates that ssd option is already configured?

Offline

#6 2017-06-25 21:38:21

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] How to activate "Optimized mode for SSD" on btrfs?

UUID=43cc1d04-8a70-4eff-a6c7-28d4682c7b12	/         	btrfs     	rw,relatime,compress=lzo,ssd,space_cache,autodefrag,subvolid=257,subvol=/root,subvol=root	0 0
/dev/sda on / type btrfs (rw,relatime,compress=lzo,ssd,space_cache,autodefrag,subvolid=282,subvol=/root)

Note the ssd in the list of options.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#7 2017-06-25 21:39:49

Yashalta
Member
Registered: 2017-05-28
Posts: 49

Re: [SOLVED] How to activate "Optimized mode for SSD" on btrfs?

slithery wrote:
UUID=43cc1d04-8a70-4eff-a6c7-28d4682c7b12	/         	btrfs     	rw,relatime,compress=lzo,ssd,space_cache,autodefrag,subvolid=257,subvol=/root,subvol=root	0 0
/dev/sda on / type btrfs (rw,relatime,compress=lzo,ssd,space_cache,autodefrag,subvolid=282,subvol=/root)

Note the ssd in the list of options.

THank you!!!

Offline

Board footer

Powered by FluxBB