Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #219208 > unrolled thread
| Started by | Gene Heskett <gheskett@shentel.net> |
|---|---|
| First post | 2020-02-17 06:20 +0100 |
| Last post | 2020-02-17 17:10 +0100 |
| Articles | 9 — 5 participants |
Back to article view | Back to linux.debian.user
need syntax for /etc/fstab to mount space on an ssd over /tmp Gene Heskett <gheskett@shentel.net> - 2020-02-17 06:20 +0100
Re: need syntax for /etc/fstab to mount space on an ssd over /tmp Andrei POPESCU <andreimpopescu@gmail.com> - 2020-02-17 07:40 +0100
Re: need syntax for /etc/fstab to mount space on an ssd over /tmp Gene Heskett <gheskett@shentel.net> - 2020-02-17 16:40 +0100
Re: need syntax for /etc/fstab to mount space on an ssd over /tmp elvis <elvis@dogonfire.com> - 2020-02-17 09:30 +0100
Re: need syntax for /etc/fstab to mount space on an ssd over /tmp Klaus Singvogel <deb-user-ml@singvogel.net> - 2020-02-17 11:10 +0100
Re: need syntax for /etc/fstab to mount space on an ssd over /tmp Carl Fink <carlf@panix.com> - 2020-02-17 13:00 +0100
Re: need syntax for /etc/fstab to mount space on an ssd over /tmp Klaus Singvogel <deb-user-ml@singvogel.net> - 2020-02-17 16:50 +0100
Re: need syntax for /etc/fstab to mount space on an ssd over /tmp Gene Heskett <gheskett@shentel.net> - 2020-02-17 17:10 +0100
Re: need syntax for /etc/fstab to mount space on an ssd over /tmp Gene Heskett <gheskett@shentel.net> - 2020-02-17 17:10 +0100
| From | Gene Heskett <gheskett@shentel.net> |
|---|---|
| Date | 2020-02-17 06:20 +0100 |
| Subject | need syntax for /etc/fstab to mount space on an ssd over /tmp |
| Message-ID | <zAGZ3-3nT-1@gated-at.bofh.it> |
Greetings all; I am trying to remove as much write activity as possible from the u-sd that a raspi boots from. To that end I'll create a partition on an ssd, of 5000 megs, then copy the existing /tmp's contents to it it, then mount the ssd partition of that name on top of it where it is in the u-sd now. A partition labeled tmp-u-sd-temp would be about the least mistake prone to put in /etc/fstab. I did this once at least a decade or more ago because I outgrew the /home/partition but can't in 2020 remember the fstab syntax a decade+ later. Can someone help? Thanks. Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/gene>
[toc] | [next] | [standalone]
| From | Andrei POPESCU <andreimpopescu@gmail.com> |
|---|---|
| Date | 2020-02-17 07:40 +0100 |
| Message-ID | <zAIet-46D-7@gated-at.bofh.it> |
| In reply to | #219208 |
[Multipart message — attachments visible in raw view] — view raw
On Lu, 17 feb 20, 00:10:52, Gene Heskett wrote: > Greetings all; > > I am trying to remove as much write activity as possible from the u-sd > that a raspi boots from. To that end I'll create a partition on an ssd, > of 5000 megs, then copy the existing /tmp's contents to it it, then > mount the ssd partition of that name on top of it where it is in the > u-sd now. A partition labeled tmp-u-sd-temp would be about the least > mistake prone to put in /etc/fstab. I did this once at least a decade or > more ago because I outgrew the /home/partition but can't in 2020 > remember the fstab syntax a decade+ later. To mount by label: # what where type options dump fsck order LABEL=tmp-u-sd-temp /tmp ext4 noatime 0 2 man fstab Kind regards, Andrei -- http://wiki.debian.org/FAQsFromDebianUser
[toc] | [prev] | [next] | [standalone]
| From | Gene Heskett <gheskett@shentel.net> |
|---|---|
| Date | 2020-02-17 16:40 +0100 |
| Message-ID | <zAQF3-Mh-5@gated-at.bofh.it> |
| In reply to | #219210 |
On Monday 17 February 2020 01:34:02 Andrei POPESCU wrote: > On Lu, 17 feb 20, 00:10:52, Gene Heskett wrote: > > Greetings all; > > > > I am trying to remove as much write activity as possible from the > > u-sd that a raspi boots from. To that end I'll create a partition > > on an ssd, of 5000 megs, then copy the existing /tmp's contents to > > it it, then mount the ssd partition of that name on top of it where > > it is in the u-sd now. A partition labeled tmp-u-sd-temp would be > > about the least mistake prone to put in /etc/fstab. I did this once > > at least a decade or more ago because I outgrew the /home/partition > > but can't in 2020 remember the fstab syntax a decade+ later. > > To mount by label: > > # what where type options dump fsck order > LABEL=tmp-u-sd-temp /tmp ext4 noatime 0 2 > > man fstab > Thanks Andrei. > Kind regards, > Andrei Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/gene>
[toc] | [prev] | [next] | [standalone]
| From | elvis <elvis@dogonfire.com> |
|---|---|
| Date | 2020-02-17 09:30 +0100 |
| Message-ID | <zAJWV-5cp-1@gated-at.bofh.it> |
| In reply to | #219208 |
On 17/2/20 3:10 pm, Gene Heskett wrote: > Greetings all; > > I am trying to remove as much write activity as possible from the u-sd > that a raspi boots from. To that end I'll create a partition on an ssd, > of 5000 megs, then copy the existing /tmp's contents to it it, then > mount the ssd partition of that name on top of it where it is in the > u-sd now. A partition labeled tmp-u-sd-temp would be about the least > mistake prone to put in /etc/fstab. I did this once at least a decade or > more ago because I outgrew the /home/partition but can't in 2020 > remember the fstab syntax a decade+ later. > > Can someone help This is not the asked solution to the problem, but why not just have your root on nfs? No need to worry about any writes to the card then. > Thanks. > > Cheers, Gene Heskett -- All that glitters has a high refractive index.
[toc] | [prev] | [next] | [standalone]
| From | Klaus Singvogel <deb-user-ml@singvogel.net> |
|---|---|
| Date | 2020-02-17 11:10 +0100 |
| Message-ID | <zALvI-6eH-7@gated-at.bofh.it> |
| In reply to | #219212 |
elvis wrote: > > On 17/2/20 3:10 pm, Gene Heskett wrote: > > Greetings all; > > > > I am trying to remove as much write activity as possible from the u-sd > > that a raspi boots from. To that end I'll create a partition on an ssd, > > of 5000 megs, then copy the existing /tmp's contents to it it, then > > mount the ssd partition of that name on top of it where it is in the > > u-sd now. A partition labeled tmp-u-sd-temp would be about the least > > mistake prone to put in /etc/fstab. I did this once at least a decade or > > more ago because I outgrew the /home/partition but can't in 2020 > > remember the fstab syntax a decade+ later. > > > > Can someone help > > This is not the asked solution to the problem, but why not just have your > root on nfs? No need to worry about any writes to the card then. I, for myself, have the problem, that can't catch him. He is speaking about a u-sd, but I'm only familiar with: ssd or usb. Both sound similar, are different to handle, and at the end it's something completly different he want's to know. Best regards, Klaus. -- Klaus Singvogel GnuPG-Key-ID: 1024R/5068792D 1994-06-27
[toc] | [prev] | [next] | [standalone]
| From | Carl Fink <carlf@panix.com> |
|---|---|
| Date | 2020-02-17 13:00 +0100 |
| Message-ID | <zANe9-73Z-3@gated-at.bofh.it> |
| In reply to | #219216 |
On 2/17/20 5:00 AM, Klaus Singvogel wrote: > elvis wrote: >> On 17/2/20 3:10 pm, Gene Heskett wrote: >>> Greetings all; >>> >>> I am trying to remove as much write activity as possible from the u-sd >>> that a raspi boots from. To that end I'll create a partition on an ssd, >>> of 5000 megs, then copy the existing /tmp's contents to it it, then >>> mount the ssd partition of that name on top of it where it is in the >>> u-sd now. A partition labeled tmp-u-sd-temp would be about the least >>> mistake prone to put in /etc/fstab. I did this once at least a decade or >>> more ago because I outgrew the /home/partition but can't in 2020 >>> remember the fstab syntax a decade+ later. >>> >>> Can someone help >> This is not the asked solution to the problem, but why not just have your >> root on nfs? No need to worry about any writes to the card then. > I, for myself, have the problem, that can't catch him. > > He is speaking about a u-sd, but I'm only familiar with: ssd or usb. > Both sound similar, are different to handle, and at the end it's something > completly different he want's to know. > I believe he means a "micro SD" and is using the letter "u" to stand in for Greek mu. -- Carl Fink nitpicking@nitpicking.com Read my blog at blog.nitpicking.com. Reviews! Observations!
[toc] | [prev] | [next] | [standalone]
| From | Klaus Singvogel <deb-user-ml@singvogel.net> |
|---|---|
| Date | 2020-02-17 16:50 +0100 |
| Message-ID | <zAQOJ-PA-1@gated-at.bofh.it> |
| In reply to | #219217 |
Carl Fink wrote: > On 2/17/20 5:00 AM, Klaus Singvogel wrote: > > elvis wrote: > > > On 17/2/20 3:10 pm, Gene Heskett wrote: > > > > Greetings all; > > > > > > > > I am trying to remove as much write activity as possible from the u-sd > > > > that a raspi boots from. To that end I'll create a partition on an ssd, > > > > of 5000 megs, then copy the existing /tmp's contents to it it, then > > > > mount the ssd partition of that name on top of it where it is in the > > > > u-sd now. A partition labeled tmp-u-sd-temp would be about the least > > > > mistake prone to put in /etc/fstab. I did this once at least a decade or > > > > more ago because I outgrew the /home/partition but can't in 2020 > > > > remember the fstab syntax a decade+ later. > > > > > > > > Can someone help > > > This is not the asked solution to the problem, but why not just have your > > > root on nfs? No need to worry about any writes to the card then. > > I, for myself, have the problem, that can't catch him. > > > > He is speaking about a u-sd, but I'm only familiar with: ssd or usb. > > Both sound similar, are different to handle, and at the end it's something > > completly different he want's to know. > > > > I believe he means a "micro SD" and is using the letter "u" to stand in for > Greek mu. Thanks. This clarifies it. The synatx of fstab is so often to find in the net, that I don't want to copy&paste it again. Look at: https://wiki.debian.org/fstab Some hints from me: - I prefer using UUIDs for instead of device names (see above link) - /tmp is usually not the place where a lot of data is written. Noisy places are: - /var/log, and especially /var/log/journal - swap spaces, please check via your /proc/swaps - caches, like firefox, chromium uses in /home/<user>/.<something> - database files, found in /var/lib/<database> Best regards, Klaus. -- Klaus Singvogel GnuPG-Key-ID: 1024R/5068792D 1994-06-27
[toc] | [prev] | [next] | [standalone]
| From | Gene Heskett <gheskett@shentel.net> |
|---|---|
| Date | 2020-02-17 17:10 +0100 |
| Message-ID | <zAR85-1bE-1@gated-at.bofh.it> |
| In reply to | #219217 |
On Monday 17 February 2020 06:57:56 Carl Fink wrote: > On 2/17/20 5:00 AM, Klaus Singvogel wrote: > > elvis wrote: > >> On 17/2/20 3:10 pm, Gene Heskett wrote: > >>> Greetings all; > >>> > >>> I am trying to remove as much write activity as possible from the > >>> u-sd that a raspi boots from. To that end I'll create a partition > >>> on an ssd, of 5000 megs, then copy the existing /tmp's contents to > >>> it it, then mount the ssd partition of that name on top of it > >>> where it is in the u-sd now. A partition labeled tmp-u-sd-temp > >>> would be about the least mistake prone to put in /etc/fstab. I did > >>> this once at least a decade or more ago because I outgrew the > >>> /home/partition but can't in 2020 remember the fstab syntax a > >>> decade+ later. > >>> > >>> Can someone help > >> > >> This is not the asked solution to the problem, but why not just > >> have your root on nfs? No need to worry about any writes to the > >> card then. > > > > I, for myself, have the problem, that can't catch him. > > > > He is speaking about a u-sd, but I'm only familiar with: ssd or usb. > > Both sound similar, are different to handle, and at the end it's > > something completly different he want's to know. > > I believe he means a "micro SD" and is using the letter "u" to stand > in for Greek mu. Exactly Carl. Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/gene>
[toc] | [prev] | [next] | [standalone]
| From | Gene Heskett <gheskett@shentel.net> |
|---|---|
| Date | 2020-02-17 17:10 +0100 |
| Message-ID | <zAR85-1bE-3@gated-at.bofh.it> |
| In reply to | #219216 |
On Monday 17 February 2020 05:00:14 Klaus Singvogel wrote: > elvis wrote: > > On 17/2/20 3:10 pm, Gene Heskett wrote: > > > Greetings all; > > > > > > I am trying to remove as much write activity as possible from the > > > u-sd that a raspi boots from. To that end I'll create a partition > > > on an ssd, of 5000 megs, then copy the existing /tmp's contents to > > > it it, then mount the ssd partition of that name on top of it > > > where it is in the u-sd now. A partition labeled tmp-u-sd-temp > > > would be about the least mistake prone to put in /etc/fstab. I did > > > this once at least a decade or more ago because I outgrew the > > > /home/partition but can't in 2020 remember the fstab syntax a > > > decade+ later. > > > > > > Can someone help > > > > This is not the asked solution to the problem, but why not just have > > your root on nfs? No need to worry about any writes to the card > > then. > > I, for myself, have the problem, that can't catch him. > > He is speaking about a u-sd, but I'm only familiar with: ssd or usb. > Both sound similar, are different to handle, and at the end it's > something completly different he want's to know. > The u-sd is the usual abbreviation for the teeny little 64G micro-sd card the pi boots from. With 64G to play in its going to last a lot longer before it fails than an 8G card, and removeing temporary writes to /tmp by transferring them to a SSD plugged into a usb3 port, it should last at least until the rapture. Or until my pacemaker needs replaced in another 9 years because the battery is failing. Since I'm now 85, that would make me 94 yo then. Does this clarify it for you? :) > Best regards, > Klaus. Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/gene>
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web