Best partition setup with btrfs for / on SSD

Hello there,
I am about to set up a new Arch box and have decided to go with btrfs for / with lzo compression turned on. However, I have some quesitons:
- should I create a dedicated subvolume for /?
- should I use a subvolume for /var or create a partition for it? If create a partition for it with - let's say 15GB - that would mean that all r/w access for it will happen on the same blocks on my SSD and thus incrase wear on the SSD as opposed to not limiting /var to its own partition. But then again, I have no idea if brtfs with lzo compression would be a good option for /var...?
- Should I make a dedicated partition for /home on the SSD and if yes, should I opt for ext4 or btrfs? If the latter, should I turn on lzo copmression or not?
Thanks for helping me with those questions.

The idea of subvolumes defeats the purpose of separate partitions, those are soo 2001.
Format it with GPT, create a subvol for / so you can do easy snapshotting and fallback.
Don't put /var into a separate subvol as it contains your pacman db.
But definately one for /home.
And compress=lzo for all of them, the compression is smart and will not bother trying to compress things that can't be compressed, unless you force it, which you shouldn't.
Also don't use -o discard, use a nightly fstrim cron job instead.

Similar Messages

  • Best Multifunction Printer (with FAX) for Mac Pro running OS 10.4.11?

    What is the Best Multifunction Printer (with FAX) for Mac Pro running OS 10.4.11? thanks for your advice.

    sad to say, the mininum MAC osx version for the printers should be at least 10.6

  • How to best partition an external drive for my purposes?

    Hello, please help,
    I've just bought a Western Digital 'My Passport' 320Gb USB (no firewire) portable external harddrive for backing up my data prior to iMac repair.
    I also plan to totally wipe my PPC iMac and reinstall it with Leopard.
    I erased the external HD, zeroing out the data from it's previous owner, and reformatted it as Mac OS Extended (not journaled).
    Now I realise that it might be even more useful than I'd imagined.
    I'd now like to partition it so I can use Carbon Copy Cloner to create a bootable copy of my entire iMac while using the rest of the drive as a separate partition for just backing up data.
    Ideally I want to be able to use the drive on both Intel and PPC Macs and even PCs, is this possible? How should I format the drive to achieve this?
    I've heard I should format it as Mac OS Extended (Journaled) HFS+, what ever that is
    I'm currently running OS 10.4.11 but plan to buy Leopard and install that after the wipe.

    17" 1.9Ghz iMac G5 (iSight)
    I've just bought a Western Digital 'My Passport' 320Gb USB (no firewire)
    I'd now like to partition it so I can use Carbon Copy Cloner to create a bootable copy of my entire iMac while using the rest of the drive as a separate partition for just backing up data.
    Ideally I want to be able to use the drive on both Intel and PPC Macs and even PCs, is this possible? How should I format the drive to achieve this?
    For what you want to do, there is a mismatch between your PPC computer and the external drive that you bought.
    With a few exceptions, a PPC Mac requires a firewire external drive for booting and will not boot from a USB drive, regardless of which OS is installed and regardless of the partition scheme and volume format on the drive. I also have an iMac G5, and mine will not boot from USB.
    If you do exchange your drive for a firewire drive, do not get another Western Digital model to use with your G5 - many external WD firewire drives will not boot a PPC mac. See [this page|http://wdc.custhelp.com/cgi-bin/wdc.cfg/php/enduser/stdadp.php?pfaqid=1787]
    If you want to keep your present USB drive, you can still partition it with one partition for a backup clone and another for "other stuff". With respect to immediate use for recovering your stuff after a clean Leopard install on the HD, I think that Migration Assistant will still work, though I haven't tried this. As for the future, the problems with a clone not being bootable are 1) You can't test it to see if it works OK, and 2) If you do need to restore from it you'd need to boot from "somewhere else" - I think you could boot from an install disk and use Disk Utility's Restore feature to clone it back.
    With regard to PC access, a PPC mac normally requires an Apple Partition Map partition scheme on the drive for booting, and such a scheme does not allow for the FAT32 volume format that is readable by PCs. However in this case since your PPC mac can't boot from it anyway, you could partition the drive as GUID. This would allow the main volume to be formatted as Mac OS Extended (Journaled) for the nonbootable clone, and would allow the extra volume to be formatted as FAT32. If you eventually got an Intel Mac, a clone from it to the main volume would also then be bootable.
    But what I would do, if feasible, is exchange the USB drive and get a non-WD firewire drive instead.
    Message was edited by: jsd2

  • Can I replace a new HD (Late 2013) with Mavericks for a SSD with Snow Leopard 10.6.8?

    I'm about to buy a Late-2013 iMac with OS Mavericks....Could I replace the factory HD with a SSD (10.6.8 Snow Leopard) and have no problems in the future because a new hardware/old OS?

    Not on that Mac model.
    (121753)

  • Best sd card with class for my Lumia 520 in 32gb

    I want to know that which sd card I purchase of 16 gb or 32 gb that will satisfatorily work in my Lumia 520

    Welcome to the Linux world. I have been a Linux user for 10 years and I can tell you that you will get no support except from fellow users. Learn to use the Linux user boards and also google.
    This might help:
    Linux board
    put a memory card in the slot and run from the command line:
    sudo modprobe usb-storage
    If this solves your problem, try adding usb-storage to your /etc/modules file so that when your computer restarts it will automatically load the usb-storage module.
    You may even have to manually mount the memory card. Install gparted from apt-get and check if the memory card does not show up as an unmounted storage device...then you can manually mount it by using the command line. You may also have to edit the fstab entries to make it hot pluggable.
    Post back if you do not understand any part of this or need more help.

  • What is the best design tablet with stylus to have an easy interface with Adobe Photoshop?

           What is best design tablet with stylus for use with Adobe Photoshop for this holiday seasons offering 2013?
    I am trying to find a tablet with good stylus  to work with Adobe Design products primarily Photoshop. I would like one that worked in layers with photoshop.
    The folks a Wacom don't even answer the phone just a recorded message go to the web site with questions.  Not a good sign for a company. So what is a good design tablets for pressure sensitive stylus? Will wacom cintiq tablet interface well with Apple Imac IOS 10.8?
    I love my Samsung note 3 but it will not easily transfer images to apple Imac 10.8.
    Please help me find tablets with good adobe design interface?  Just tell me which way to jump. It is easier to leave Apple for PC or Android  than to abandon Adobe knowledge. The products have to work together.
    Does wacom Cintiq not embrace an easy interface with Apple  Imac IOS 10.8 latest software. Wacom seems to be championing Windows 8 as a companion to their tablet interface.
    Can an Ipad deliver good layered designs using adobe software design programs and a stylus?
    What should I buy for an Adobe design tablet with pressure sensitive stylus for ths Holiday Season? 
    Should i wait until next year?
    Will the tablet work in  Photoshop layers?
    this link seemed ominus
    http://forums.adobe.com/message/4950467

    subhash007 wrote:It's not 802.3ad link aggreagated interface. In the switch side, the ports will be configured as normal access ports and the bonding config will be done on the server side.
    To be honest, I don't understand how the Linux bonding mode can work without anything configured the other end.
    My understanding of 'bonding' comes from Multilink PPP (MLP) where the data stream is chopped up and split across two (or more) circuits. At the other end, a similar MLP-enabled device reforms the data stream from the multiple circuits, maintaining packet order. But this requires MLP-enabled 'bonding' devices at each end.
    Perhaps you could help me better understand the Linux bonding...
    subhash007 wrote:If any single homed server is connected to Switch 2, what will be traffic path for its data packets?Switch 2 ------------------> Switch 1 ----------------------> Active firewall                                   ORSwitch 2 ------------------> Passive Firewall -----------> Active Firewall
    If the firewalls operate in the same fashion as Cisco ASAs, then the inter-firewall link doesn't carry traffic. It's for failover detection and HTTP replication only. But like I said, I'm not familiar with this vendor's products.
    subhash007 wrote:Also will there be any change in traffic path if the trunk between Switch 1 & Switch 2 is converted to L3 routed interface? Since there is no VRRP, i can convert the trunk to L3 right?
    Same as above.

  • How best to setup a Mac Pro with two hard drives for 1st hard drive or OS failure?

    My first Apple, a Mac Pro,  is to arrive on Monday (1/7).  I will be putting Win7 on Bootcamp and installing Parrallels.  It will have two 1T hard drives.   I would appreciate
    any advice on how best to set it up for best recovery in case of a hard drive or OS crash.   You can tell I have experience with Windows.    It looks like my best choices are
    either disk cloning software or just installing OS X from the recovery disk  on the second drive.   Apple says it is legal to do another installation.   I know the disk cloning will not work on the bootcamp partition which I plan to use for the Parallels program.  Can OS X have an option to boot from two differnet disks and OS installs?
    What I am really wanting to do in the event of a crash,  is to just boot up on the other disk and keep working.     I try to keep data on a separate partition  with backups so
    that a disk or OS crash doesn't cause any data loss.

    I do not use windows.
    However on my Mac Pro for cloning/backups/bootable backups i use Carbon Copy Cloner.
    It has an ability to clone entire disk (unless specified differently) so I can boot from another disk or restore back if I want to.

  • How to setup trim for 256GB SSD for Yosemite OS 10.10.1 on Mid 2010 MacBook Pro

    What is the best way to setup effective TRIM for a newly installed SanDisk Ultra Plus 256 GB  (old version) drive on a mid 2010 MacBook Pro 6,2 with 8 GB RAM and running just installed Yosemite OSs 10.10.1?  The new operating system is not referenced by SanDisk.   Thank you.

    Thank you and to others that responded,   I will take the advice to not enable trim at this time,but will visit the issue at a much later date.   Maybe Apple will find a way to securely allow us to TRIM 3rd party SSDs.   Iwill look at an annual manual TRIM in a year or so, if that is a good solution. Does this approach sound reasonable?   This is my first ever post to this problem solving group.  Thanks again also to ALL previous contributors.
    Roger

  • Should i use compression with btrfs, an ssd, and a 1.6 atom processor?

    My netbook has a 60gb ssd with btrfs, is it a good idea to enable compression? My main goal for this net-book is battery life.
    If i do enable compression only new files are compressed, is there a way to walk over old files and compress them?
    My current partition looks like this:
    /boot    ext2 200mb
    /           btrfs 7g
    /home  btrfs 46g
    I need to make my root larger because i am running out of space so i'm going to be messing with the file systems anyway  this suggests that i place my entire system in a subvolume, is this something i can do retroactively, or would I have to do a reinstall, which i'm ok with
    Last edited by seniorsassycat (2012-01-27 01:45:58)

    Compression can help with SDD longevity (less data written) but not the battery's longevity (which will require charging more often and eventually start to hold less charge). I would probably not enable compression at all. 60 GB is plenty.
    If you think about it, while you can't actually replace either of them in a netbook, the battery is more important - at least in a portable device. Even if the SSD gives out in 5-8 years at least you could still boot from a USB stick and breathe some life into it. But replacing the battery... well, it's probably not gonna happen. And by that time it will probably end up on a garbage landfill anyway. Pff... Consumerism.

  • Best disk setup for Premiere CS6

    Hello,
    I want to improve my disk setup for Adobe Premiere CS6 because I got long loading times.
    My current setup:
    Crucial RealSSD C300 60GB SSD for the program
    Samsung Spinpoint F3 1TB HDD for media and Media Cache Files
    Samsung Spinpoint F3 1TB HDD for projects and exports
    My planed setup:
    new: Kingston SSDNow V300 120GB SSD for the program
    Crucial RealSSD C300 60GB SSD for Media Cache Files
    2x Samsung Spinpoint F3 1TB HDD with Raid 1 for media
    new: Seagate Barracuda 2 TB HDD for projects and exports
    Is this the best solution to improve the performance?
    Thanks
    Tim

    What is the advantage of getting an extra HDD for the exports?
    None from a performance point of view.
    And should I use the 60GB SDD for the Media Cache Files?
    That is much too small. Depending on your projects, you will need at least 256 GB, but possibly even more.
    With only 350 GB of media and projects, my media cache is already 72 GB.
    Read Harm's articles on disk setup, raids and balanced systems here: Tweakers Page

  • Advice on best way to setup Disaster Recovery for SOA Suite 10.1.3.4

    Hi Everyone,
    I need some advice on the best way to setup Disaster Recovery for a SOA Suite 10.1.3.4 install deploying JSF/ADF OC4J applications.
    The way we are trying to do it at the moment is manually copy the "applications" and "applications-deployments" folders for the OC4J application on the production server, then compress and ship the files across to the DR application server nightly. (We don't require high availability).
    In the event of a disaster we then extract the files and copy to the OC4J instance (pre-created and configured) on the DR server. Unfortunately to date we haven't been able to reliably setup a DR application (seem to mostly get 404 errors etc), even though the OC4J application has its connection pool resolved to the DR database and is showing as "up" in the ASConsole.
    My question is, is there a more "native" way to do what we are trying to do. We do not have Enterprise version of SOA Suite or 11g database so any advanced recovery features are not an option. The setup is also stand alone, i.e. we are not using clustering or RAC etc.
    Any ideas would be really helpful.
    Thanks,
    Leigh.
    PS we are also running the production apps server with Oracle Application server 10g 10.1.2.3.0 as the HTTP apache server (with Forms, Reports and Discoverer deployed) and the SOA Suite 10.1.3 applications use the 10.1.2 HTTP server via the HTTP to AJP bridge. So the 10.1.3 OC4J instance is configured to use AJP on port range 12501 - 12600.

    For enterprise solutions, AS Guard would work.
    http://download.oracle.com/docs/cd/B25221_04/core.1013/b15977/disasrecov.htm#sthref303
    However, since advanced recovery options are not available (as you said), then what you are doing should not be too bad.
    AMN

  • Can the 128 GB SSD part of a fusion drive be replaced with a 960 GB SSD dive for greater performance and added storage?

    Can the 128 GB SSD part of a fusion drive be replaced with a 960 GB SSD dive for greater performance and added storage in a 2012 mac mini?

    First, I suspect Apple fine tuned its choice of SSD size for the Fusion drive based on the best performance/price ratio. I'd be surprised if a larger SSD provided any improvement that would justify the added price of a larger SSD.
    Second, if I could justify the cost of a 960 SSD drive I wouldn't bother with a Fusion drive!

  • Using a partitionned cache with off-heap storage for backup data

    Hi,
    Is it possible to define a partitionned cache (with data into the heap) with off-heap storage for backup data ?
    I think it could be worthwhile to do so, as backup data are associated with a different access pattern.
    If so, what are the impacts of such off-heap storage for backup data ?
    Particularly, what are the impacts on performance ?
    Thanks.
    Regards,
    Dominique

    Hi,
    It seems what using scheme for backup-store is broken in latest version of Coherence, I've got an exception using your setup.
    2010-07-24 12:21:16.562/7.969 Oracle Coherence GE 3.6.0.0 <Error> (thread=DistributedCache, member=1): java.lang.NullPointerException
         at com.tangosol.net.DefaultConfigurableCacheFactory.findSchemeMapping(DefaultConfigurableCacheFactory.java:466)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$Storage$BackingManager.isPartitioned(PartitionedCache.java:10)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$Storage.instantiateBackupMap(PartitionedCache.java:24)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$Storage.setCacheName(PartitionedCache.java:29)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ServiceConfig$ConfigListener.entryInserted(PartitionedCache.java:17)
         at com.tangosol.util.MapEvent.dispatch(MapEvent.java:266)
         at com.tangosol.util.MapEvent.dispatch(MapEvent.java:226)
         at com.tangosol.util.MapListenerSupport.fireEvent(MapListenerSupport.java:556)
         at com.tangosol.util.ObservableHashMap.dispatchEvent(ObservableHashMap.java:229)
         at com.tangosol.util.ObservableHashMap$Entry.onAdd(ObservableHashMap.java:270)
         at com.tangosol.util.SafeHashMap.put(SafeHashMap.java:244)
         at com.tangosol.coherence.component.util.ServiceConfig$Map.put(ServiceConfig.java:43)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$StorageIdRequest.onReceived(PartitionedCache.java:45)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onMessage(Grid.java:11)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onNotify(Grid.java:33)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.PartitionedService.onNotify(PartitionedService.java:3)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.onNotify(PartitionedCache.java:3)
         at com.tangosol.coherence.component.util.Daemon.run(Daemon.java:42)
         at java.lang.Thread.run(Thread.java:619)Tracing in debuger has shown what problem is in PartitionedCache$Storage#setCacheName(String) method, it calls instantiateBackingMap(String) before setting __m_CacheName field.
    It is broken in 3.6.0b17229
    PS using asynchronous wrapper around disk based backup storage should reduce performance impact

  • Request for best connectivity Setup for WRT 1900ac. DHCP issue

    Hello Customer Care Team.
    I imported the WRT 1900ac router from the USA to my location in India. Apparently your Customer care in Indai don’t give any support for this fantastic router.
    I am  not at your mercy for assistance.
    Please help & guide me in getting the best out of it and with a good setup.
    MY ADSL+2 Modem Router : Netgear
    Internet connectivity as follows:
    Lan IP
    192.168.1.1, subnet : 255.255.255.0
    Dhcp server On : start: 192.168.1.2    End : 192.168.1.254
    Wan IP Setup
    PP0E  LLC/SNAP NAT on 
    Wan Ip auto assigned
    MTU: 1492
    My Linksys  wrt1900ac wireless is setup as follows for 2.4ghz & 5ghz
                              2.4 ghz                                                             5ghz
    Network mode   mixed                                                              mixed
    Security mode    wPA2                                                              WPA2
    Channel width    auto                                                                 auto
    Channel                auto                                                              auto
    Besides above WRT 1900ac has:
     1. NAT enabled
    2.Local network DHCP enabled as :
    DHCP server enabled
    Start IP: 10.185.21.100   end: 10.185.21.199
    IP 10.185.21.X Range
    3. Internet setting on WRT 1900ac as:
      IPv4  Auto DHCP Configuration     MTU Auto
     I want you to tell me if my Linksys WRT 1900ac is configured correctly and the DHCP server IPs are correct.
    When I enter 192.168.1.1 in the browser it takes me to my netgear modem web setup page. So How do I get to make all the modem & the wifi in the range of 192.168.1.1 etc.
    Please help & provide your best solution for fast speed .
    Thanks
    Solved!
    Go to Solution.

    Sorry you didn't get an answer faster but you have to know this is a peer to peer forum. it is users helping other users so not always the quickest way. First off, can you change your ISP router to modem only mode? It is best that way as you will get conflicts such as what you are seeing when there are two routers in the same link. You are getting the ISP router when you enter 192.168.1.1 because that is its address on the LAN side. It appears that your router is getting set to a 10.x IP because of the setup. You have two routers trying to work with DHCP so that is also an issue. If you can change the ISP router to modem only mode then once it is up disconnect it from the router and do a factory reset on your router and make sure it has the IP of 192.168.1.1 and you will then be able to make any changes you need to. the default login is password of admin and leave the user blank.

  • SSD setup suggestions (looking for)

    Hi, I have a mid-2010 Macbook Pro 15" i5. I was thinking about switching to an SSD / HDD setup, using the Optibay to replace the Superdrive.
    My dad recently bought a Macbook Air, and it boots in like 7 seconds, it's incredible. Will I have the same performances as him with a SSD/HDD setup?
    Second question? Is it better to put the SSD in the original hard drive place or in the SuperDrive place? What are the advantages/disadvantages of the two different configurations (for instance, since II can now hear my drive spinning more than before, can it be put to stop in the Optibay when it's not needed?)?
    These are the two SSD I find more appealing, what do you think about them?
    OCZ Vertex 2 120GB
    Patriot Inferno 120GB
    Also, some reported that having the two drives slows boot for some reason compared to an SSD only setup, why is that?
    Thank you in advance and sorry for the many questions.

    I have just done a SSD upgrade to my MBP 2010 i7.
    As for the SSD i went with the OWC 240GB, it took me ages to decided on what to get but im glad i got it, its just great.
    My set up with the SSD and HDD took some thought. My SSD sits in my optibay and the HDD says where it is for a few good reasons.
    The MBP 2010 only has SATA II so it makes no diffrence in speed where you put your SSD.
    Moving the HDD could cause you problems with the motion detection and spin down, seeing it makes no diffrence where the SSD goes i thought i would keep the HDD where it was designed to be.
    I have the full OSX, applications and some documents on the SSD, i have left the SSD the location of my "Users location" as this means i can un-mount the HDD when i like (saves a little power). I have short cuts for the folers i have on the HDD (music, movies and photos) and have set up itunes and apearure to read from the HDD.
    I have to say i reinstalled a few times to get it just right and it work really well,

Maybe you are looking for

  • Sale order transaction held with error in MMT interface

    A sale order is shipped from order management but it entry struck in transaction interface with anonymous error, error code is "Oracle error", we are unable to diagnose that what is the cause of struck transactions. Pl guide what should we do? Regard

  • Graph display issues

    Hello everyone, I am currently facing a problem of graph display. After some manipulations (typically a mouse wheel scrolling), a part of the curves of my XY graph disappears (see attachment). I'm using Windows XP and Labview 2009. I have observed th

  • HR standard report through Adobe Document Services

    Hi, since note "1155459 RPCIIDP0: layout correction of company title in PDF format", SAP transformed this report in an Adobe form. Although I can find ADS configuration guides in this forums, my question is:  Wouldnu2019t be normal that SAP had this

  • Sending PDF form directly to email

    Is it possible to send filled PDF form directly from Acrobat Pro or Reader to requested email by clicking the SEND button? Or does it always go via senders email application? What should be done to get it going directly?

  • Interesting iPhoto "unrecognized file" issue....

    My wife scanned in a bunch of photos on her Intel iMac running 10.6, using an HP scanner and the scanner drivers built into Snow Leopard. iPhoto refused to recognize about half of them. They would open just fine in Preview and in the quick-look, but