viewtopic.php?f=45&t=130345joelang1699 wrote:Id love to know how to make this persist too?
Move the /tmp folder permantely to hard disk
- OneCD
- Guru
- Posts: 12037
- Joined: Sun Aug 21, 2016 10:48 am
- Location: "... there, behind that sofa!"
Re: Move the /tmp folder permantely to hard disk
- joelang1699
- Easy as a breeze
- Posts: 400
- Joined: Tue Feb 03, 2009 11:33 am
Re: Move the /tmp folder permantely to hard disk
Sorry OneCD im not sure what im looking for here?
Regards
Joe
TVS-EC1080 32Gb Ram 10x WD60EFRX Raid 6
TS-1079 Pro 16Gb Ram 10x WD60EFRX Raid 6
TS-879 Pro 2Gb Ram 3 X WD60EFRX Raid 5
TVS-863 4Gb Ram 3 X WD60EFRX Raid 5
Joe
TVS-EC1080 32Gb Ram 10x WD60EFRX Raid 6
TS-1079 Pro 16Gb Ram 10x WD60EFRX Raid 6
TS-879 Pro 2Gb Ram 3 X WD60EFRX Raid 5
TVS-863 4Gb Ram 3 X WD60EFRX Raid 5
- OneCD
- Guru
- Posts: 12037
- Joined: Sun Aug 21, 2016 10:48 am
- Location: "... there, behind that sofa!"
Re: Move the /tmp folder permantely to hard disk
No worries.
Start by establishing an autorun environment on your NAS. The post I linked-to includes a script that does this for you.
Then create a shell script (call it resize-tmp.sh) with the following contents:... and place this script into the scripts directory shown in that post.
Mark your new script as executable:
Now, whenever you boot, your /tmp directory will be resized.
Start by establishing an autorun environment on your NAS. The post I linked-to includes a script that does this for you.
Then create a shell script (call it resize-tmp.sh) with the following contents:
Code: Select all
#!/bin/sh
mount -o remount,size=1024m /tmp
Mark your new script as executable:
Code: Select all
chmod +x resize-tmp.sh
- joelang1699
- Easy as a breeze
- Posts: 400
- Joined: Tue Feb 03, 2009 11:33 am
Re: Move the /tmp folder permantely to hard disk
Ah cheers. Ill get into that tomorrow!
Regards
Joe
TVS-EC1080 32Gb Ram 10x WD60EFRX Raid 6
TS-1079 Pro 16Gb Ram 10x WD60EFRX Raid 6
TS-879 Pro 2Gb Ram 3 X WD60EFRX Raid 5
TVS-863 4Gb Ram 3 X WD60EFRX Raid 5
Joe
TVS-EC1080 32Gb Ram 10x WD60EFRX Raid 6
TS-1079 Pro 16Gb Ram 10x WD60EFRX Raid 6
TS-879 Pro 2Gb Ram 3 X WD60EFRX Raid 5
TVS-863 4Gb Ram 3 X WD60EFRX Raid 5