Skip to main content
replaced http://raspberrypi.stackexchange.com/ with https://raspberrypi.stackexchange.com/
Source Link

If you're going to have a HDD that's always attached to the Pi, then you can mount the sections of your filesystem that incur the largest number of read/writes directly from it.

These directories are probably the culprits:

/home/
/var/
/tmp/

You are able to mount partitions on your external hard drive to these directories automatically at boot. Let's say your HDD is /dev/sdb, and it has four partitions. You can append your /etc/fstab to look something like this:

/dev/sdb1       /var        ext4   defaults    0  1
/dev/sdb2       /home       ext4   defaults    0  1
/dev/sdb3       /tmp        ext4   defaults    0  1
/dev/sdb4       none        swap   sw          0  0 

I've also included a swap partition. Though you might want to research how effective swap can be over USB. I really wouldn't expect much from it.

More information about swap in this question: How to set up swap space?How to set up swap space?

If you're going to have a HDD that's always attached to the Pi, then you can mount the sections of your filesystem that incur the largest number of read/writes directly from it.

These directories are probably the culprits:

/home/
/var/
/tmp/

You are able to mount partitions on your external hard drive to these directories automatically at boot. Let's say your HDD is /dev/sdb, and it has four partitions. You can append your /etc/fstab to look something like this:

/dev/sdb1       /var        ext4   defaults    0  1
/dev/sdb2       /home       ext4   defaults    0  1
/dev/sdb3       /tmp        ext4   defaults    0  1
/dev/sdb4       none        swap   sw          0  0 

I've also included a swap partition. Though you might want to research how effective swap can be over USB. I really wouldn't expect much from it.

More information about swap in this question: How to set up swap space?

If you're going to have a HDD that's always attached to the Pi, then you can mount the sections of your filesystem that incur the largest number of read/writes directly from it.

These directories are probably the culprits:

/home/
/var/
/tmp/

You are able to mount partitions on your external hard drive to these directories automatically at boot. Let's say your HDD is /dev/sdb, and it has four partitions. You can append your /etc/fstab to look something like this:

/dev/sdb1       /var        ext4   defaults    0  1
/dev/sdb2       /home       ext4   defaults    0  1
/dev/sdb3       /tmp        ext4   defaults    0  1
/dev/sdb4       none        swap   sw          0  0 

I've also included a swap partition. Though you might want to research how effective swap can be over USB. I really wouldn't expect much from it.

More information about swap in this question: How to set up swap space?

Fixed punctuation
Source Link
tlhIngan
  • 3.4k
  • 5
  • 20
  • 33

If you're going to have a HDD that's always attached to the Pi, then you can mount the sections of your filesystem that incur the largest number of read/writes directly from it.

These directories are probably the culprits:

/home/
/var/
/tmp/

You are able to mount partitions on your external hard drive to these directories automatically at boot. Let's say your HDD is /dev/sdb, and it has four partitions. You can append your /etc/fstab to look something like this:

/dev/sdb1       /var        ext4   defaults    0  1
/dev/sdb2       /home       ext4   defaults    0  1
/dev/sdb3       /tmp        ext4   defaults    0  1
/dev/sdb4       none        swap   sw          0  0 

I've also included a swap partition. Though you might want to research how effective swap can be over USB. I really wouldn't expect much from it.

More information about swap in this question: How to set up swap space?

If you're going to have a HDD that's always attached to the Pi then you can mount the sections of your filesystem that incur the largest number of read/writes directly from it.

These directories are probably the culprits:

/home/
/var/
/tmp/

You are able to mount partitions on your external hard drive to these directories automatically at boot. Let's say your HDD is /dev/sdb, and it has four partitions. You can append your /etc/fstab to look something like this:

/dev/sdb1       /var        ext4   defaults    0  1
/dev/sdb2       /home       ext4   defaults    0  1
/dev/sdb3       /tmp        ext4   defaults    0  1
/dev/sdb4       none        swap   sw          0  0 

I've also included a swap partition. Though you might want to research how effective swap can be over USB. I really wouldn't expect much from it.

More information about swap in this question: How to set up swap space?

If you're going to have a HDD that's always attached to the Pi, then you can mount the sections of your filesystem that incur the largest number of read/writes directly from it.

These directories are probably the culprits:

/home/
/var/
/tmp/

You are able to mount partitions on your external hard drive to these directories automatically at boot. Let's say your HDD is /dev/sdb, and it has four partitions. You can append your /etc/fstab to look something like this:

/dev/sdb1       /var        ext4   defaults    0  1
/dev/sdb2       /home       ext4   defaults    0  1
/dev/sdb3       /tmp        ext4   defaults    0  1
/dev/sdb4       none        swap   sw          0  0 

I've also included a swap partition. Though you might want to research how effective swap can be over USB. I really wouldn't expect much from it.

More information about swap in this question: How to set up swap space?

added 124 characters in body
Source Link
Jivings
  • 22.5k
  • 11
  • 92
  • 139

If you're going to have a HDD that's always attached to the Pi then you can mount the sections of your filesystem that incur the largest number of read/writes directly from it.

These directories are probably the culprits:

/home/
/var/
/tmp/

You are able to mount partitions on your external hard drive to these directories automatically at boot. Let's say your HDD is /dev/sdb, and it has four partitions. You can append your /etc/fstab to look something like this:

/dev/sdb1       /var        ext4   defaults    0  1
/dev/sdb2       /home       ext4   defaults    0  1
/dev/sdb3       /tmp        ext4   defaults    0  1
/dev/sdb4       none        swap   sw          0  0 

I've also included a swap partition. Though you might want to research how effective swap can be over USB. I really wouldn't expect much from it.

More information about swap in this question: How to set up swap space?

If you're going to have a HDD that's always attached to the Pi then you can mount the sections of your filesystem that incur the largest number of read/writes directly from it.

These directories are probably the culprits:

/home/
/var/
/tmp/

You are able to mount partitions on your external hard drive to these directories automatically at boot. Let's say your HDD is /dev/sdb, and it has four partitions. You can append your /etc/fstab to look something like this:

/dev/sdb1       /var        ext4   defaults    0  1
/dev/sdb2       /home       ext4   defaults    0  1
/dev/sdb3       /tmp        ext4   defaults    0  1
/dev/sdb4       none        swap   sw          0  0 

I've also included a swap partition. Though you might want to research how effective swap can be over USB. I really wouldn't expect much from it.

If you're going to have a HDD that's always attached to the Pi then you can mount the sections of your filesystem that incur the largest number of read/writes directly from it.

These directories are probably the culprits:

/home/
/var/
/tmp/

You are able to mount partitions on your external hard drive to these directories automatically at boot. Let's say your HDD is /dev/sdb, and it has four partitions. You can append your /etc/fstab to look something like this:

/dev/sdb1       /var        ext4   defaults    0  1
/dev/sdb2       /home       ext4   defaults    0  1
/dev/sdb3       /tmp        ext4   defaults    0  1
/dev/sdb4       none        swap   sw          0  0 

I've also included a swap partition. Though you might want to research how effective swap can be over USB. I really wouldn't expect much from it.

More information about swap in this question: How to set up swap space?

added swap partition.
Source Link
Jivings
  • 22.5k
  • 11
  • 92
  • 139
Loading
Source Link
Jivings
  • 22.5k
  • 11
  • 92
  • 139
Loading