View previous topic :: View next topic |
Author |
Message |
dmpogo Advocate
Joined: 02 Sep 2004 Posts: 3267 Location: Canada
|
Posted: Fri Nov 20, 2020 4:29 pm Post subject: |
|
|
eccerr0r wrote: |
BTW there needs to be a poll on what people call their directories for extra partitions. Seems a lot of people call it /srv, or at least it's not the first time I saw someone call it /srv... Perhaps this is standard for some other distributions? Dunno. |
For me it very much depends what is it for. It is often /scratch |
|
Back to top |
|
|
figueroa Advocate
Joined: 14 Aug 2005 Posts: 2963 Location: Edge of marsh USA
|
Posted: Fri Nov 20, 2020 5:02 pm Post subject: |
|
|
dmpogo wrote: | eccerr0r wrote: |
BTW there needs to be a poll on what people call their directories for extra partitions. Seems a lot of people call it /srv, or at least it's not the first time I saw someone call it /srv... Perhaps this is standard for some other distributions? Dunno. |
For me it very much depends what is it for. It is often /scratch |
Always /scratch. It's a habit I picked up from a respected Unix system admin. Truthfully, everything I have in /scratch should be in /home. But, the result is that I have plenty of extra elbow room in both /home and /scratch. _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9679 Location: almost Mile High in the USA
|
Posted: Fri Nov 20, 2020 5:10 pm Post subject: |
|
|
I think I also have a /scratch somewhere too :D
Then again I also use /windows, /msdos (but never /ntfs), /raid (even if root is on RAID too, and never /lvm), /sd[a-z][1-9], /storage, and more ... _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
dmpogo Advocate
Joined: 02 Sep 2004 Posts: 3267 Location: Canada
|
Posted: Fri Nov 20, 2020 5:39 pm Post subject: |
|
|
figueroa wrote: | dmpogo wrote: | eccerr0r wrote: |
BTW there needs to be a poll on what people call their directories for extra partitions. Seems a lot of people call it /srv, or at least it's not the first time I saw someone call it /srv... Perhaps this is standard for some other distributions? Dunno. |
For me it very much depends what is it for. It is often /scratch |
Always /scratch. It's a habit I picked up from a respected Unix system admin. Truthfully, everything I have in /scratch should be in /home. But, the result is that I have plenty of extra elbow room in both /home and /scratch. |
For me the difference is that /scratch is not (and not expected by users to be) backed up, while /home is backed up most carefully. This is a classical simulations oriented setup, where outputs are huge. |
|
Back to top |
|
|
dmpogo Advocate
Joined: 02 Sep 2004 Posts: 3267 Location: Canada
|
Posted: Fri Nov 20, 2020 5:51 pm Post subject: |
|
|
eccerr0r wrote: | I think I also have a /scratch somewhere too
Then again I also use /windows, /msdos (but never /ntfs), /raid (even if root is on RAID too, and never /lvm), /sd[a-z][1-9], /storage, and more ... |
I have /virt where I use virtual machines. |
|
Back to top |
|
|
figueroa Advocate
Joined: 14 Aug 2005 Posts: 2963 Location: Edge of marsh USA
|
Posted: Fri Nov 20, 2020 6:51 pm Post subject: |
|
|
In my case, the bulk of my personal files are offloaded to /scratch and connected to /home with symlinks.
Code: | cups-pdf
Documents
Downloads
Photos
Pictures
Videos
.mozilla
.thunderbird |
and a few other directories unique to my own usage, a personal bin directory, mp3, wav, and two develpement directories for the web.
/home and /scratch are in their own partitions with everything else in the system root "/". And everything is meticulously backed up automatically on a nightly schedule for personal files and weekly for the system on a rotating basis to there are always at least three copies on a different drive. These backups are encrypted and copied to external media (flash drives and others) on a weekly, rotating basis. _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54237 Location: 56N 3W
|
Posted: Fri Nov 20, 2020 7:40 pm Post subject: |
|
|
Split from Resizing root?
dmpogo,
Feel free to add a Poll to your original post in this topic _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54237 Location: 56N 3W
|
Posted: Fri Nov 20, 2020 7:45 pm Post subject: |
|
|
Moved from Other Things Gentoo to Gentoo Chat. because I put the split in the wrong place. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
saellaven l33t
Joined: 23 Jul 2006 Posts: 646
|
Posted: Fri Nov 20, 2020 8:31 pm Post subject: |
|
|
I put them all under /mnt
/mnt/backup
/mnt/distfiles
/mnt/media
/mnt/packages
/mnt/steam
etc...
and yes, there is a /mnt/scratch too (which I essentially treat as a non-volatile /tmp) _________________ Ryzen 3700X, Asus Prime X570-Pro, 64 GB DDR4 3200, GeForce GTX 1660 Super
openrc-0.17, ~vanilla-sources, ~nvidia-drivers, ~gcc |
|
Back to top |
|
|
gtwrek Tux's lil' helper
Joined: 10 Mar 2017 Posts: 110 Location: San Jose, CA
|
Posted: Fri Nov 20, 2020 9:05 pm Post subject: |
|
|
Jaglover wrote: | I don't see all this in 'man hier' |
Thanks for this. Really. I'm on of those "admins of my own servers" without any formal training, and always picked up by osmosis where (gentoo|linux in general) put things. I didn't know this man page existed...
Particularly with recent (gentoo) migrations to using /var/db/
Which I just notice isn't documented in man hier. Oh well nothing's perfect. Is there a gentoo specific version of this man page?
Regards,
Mark |
|
Back to top |
|
|
halcon l33t
Joined: 15 Dec 2019 Posts: 629
|
Posted: Fri Nov 20, 2020 9:34 pm Post subject: |
|
|
I've arranged it so:
I have separate /var, /home, /tmp, /dev/shm.
/var is 30 GB, contains all the repos and distfiles, and I have to run eclean distfiles from time to time (I think, for subsequent installations I'll be making it not less than 40 GB).
All HDD/SDD partitions are under /home/user/disks.
All folders for external drives are under /mnt
/mnt/bigdiskdir - type "ntfs-3g"
/mnt/cdaudio - type "iso9660" (for wine)
/mnt/cdrom - type "auto" (for native system)
/mnt/exfatdir - type "exfat-fuse"
/mnt/flashdir - type "vfat" (SD/SDXC via card reader, differs from usbdir in sdLETTER)
/mnt/isodir - for mounting iso images
/mnt/nasdir - for NAS drives
/mnt/usbdir - type "vfat" (usb drives) I don't have a DE, so I arrange all mounts manually. _________________ A wife asks her husband, a programmer:
- Could you please go shopping for me and buy one carton of milk, and if they have eggs, get 6?
He comes back with 6 cartons of milk.
- Why did you buy 6 cartons of milk?
- They had eggs. |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
Posted: Fri Nov 20, 2020 9:52 pm Post subject: |
|
|
gtwrek wrote: | Which I just notice isn't documented in man hier. Oh well nothing's perfect. Is there a gentoo specific version of this man page?
Regards,
Mark |
Mark,
I don't think anyone would resent if you opened a bug at Gentoo bugzilla with this request. Man pages are wonderful, I always feel sorry for folks who neglect to use them and start a spoonfeeding request in the forums instead. I'm an autodidact like you. I knew very little about computers when the company I was working for was forced to get some computers and the CEO offered me the newly founded IT manager position. Kept it for 7+ years and quit only because I could not stand MS Windows any more. _________________ My Gentoo installation notes.
Please learn how to denote units correctly! |
|
Back to top |
|
|
dmpogo Advocate
Joined: 02 Sep 2004 Posts: 3267 Location: Canada
|
Posted: Fri Nov 20, 2020 10:00 pm Post subject: |
|
|
saellaven wrote: | I put them all under /mnt
/mnt/backup
/mnt/distfiles
/mnt/media
/mnt/packages
/mnt/steam
etc...
and yes, there is a /mnt/scratch too (which I essentially treat as a non-volatile /tmp) |
I also have some non-mandatory stuff under /mnt but my external drives are under /misc managed by autofs, symlinked to /mnt |
|
Back to top |
|
|
389292 Guru
Joined: 26 Mar 2019 Posts: 504
|
Posted: Sat Nov 21, 2020 11:10 am Post subject: |
|
|
either after data on the drive like ~/blockchains
or if it's general data then by the manufacturer and size like ~/seagate500 |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54237 Location: 56N 3W
|
Posted: Sat Nov 21, 2020 11:21 am Post subject: |
|
|
Mine are all in /mnt and in /etc/fstab with the user option to be mounted by label.
As I don't have an automounter because in ruins DVD+R RW disks, only root can can mount random external drives.
Its not really a security measure. Anyone can write a label on another system.
I don't use DVD+R RW any more but I like not having an automouter. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Tony0945 Watchman
Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
Posted: Sat Nov 21, 2020 3:46 pm Post subject: |
|
|
Also /mnt like saellaven.
I have a few CIFS mounts that mount into the tree like /home/tony/Documents so that I don't have different versions on different machines. Thinking f doing the same with /home/tony/PROJECTS. rsync them all then mount one version. monthly umount and rsync so that eavh machne has a backup copy. If the server gous down, then the server is synced before mounting.
Everything on a seperate partition on the same machine is under /mnt. And, of course, /mnt/gentoo which is not automounted but handy. |
|
Back to top |
|
|
dmpogo Advocate
Joined: 02 Sep 2004 Posts: 3267 Location: Canada
|
Posted: Sat Nov 21, 2020 6:32 pm Post subject: |
|
|
NeddySeagoon wrote: | Mine are all in /mnt and in /etc/fstab with the user option to be mounted by label.
As I don't have an automounter because in ruins DVD+R RW disks, only root can can mount random external drives.
Its not really a security measure. Anyone can write a label on another system.
I don't use DVD+R RW any more but I like not having an automouter. |
I certainly would not automount DVD's (if I recall what is it, funny how dvd-rw-tools tar ball is from 2008). Though I did automount floppies in the old times
I automount my external collection of disks in eSATA enclosure, which have collection of movies/music and backup disks.
First two I use rarely, backup is used couple of times a day |
|
Back to top |
|
|
dmpogo Advocate
Joined: 02 Sep 2004 Posts: 3267 Location: Canada
|
Posted: Sat Nov 21, 2020 6:57 pm Post subject: |
|
|
So my office computer (old guy from 2010) mount table is
Code: |
/dev/sda1 /boot ext2 noauto,noatime 1 2
/dev/sda2 / ext2 noatime 0 1
/dev/sdb1 none swap sw,pri=1 0 0
/dev/sdc1 none swap sw,pri=1 0 0
/dev/md2 /var reiserfs noatime 0 2
/dev/md5 /home reiserfs noatime 0 2
/dev/md6 /scratch/wheeler xfs noatime 0 2
/dev/md7 /virt xfs noatime 0 2
/dev/sdi1 /mnt/usbkey auto noauto,users,noatime,rw 0 0
/dev/cdrom /mnt/cdrom auto noauto,user,ro 0 0
/dev/fd0 /mnt/floppy auto noauto 0 0
|
sda is SSD disk with boot and / partitions
sdb/sdc is a pair of RAID 1 mechanical drives
/var contains all portage under /var/portage
/scratch/wheeler is shared via NFS to other machines (as well as scratch from other machines is NFS mounted under /scratch/name)
sdd (not shown) - external backup eSata drive automounted under /misc. I am backing up only /etc and /home
If I stick USB stick into my monitor it comes as /dev/sdi
And yes, I have a floppy drive
my /mnt is
Code: |
drwxr-xr-x 2 root root 4096 Jul 23 2010 SD
lrwxrwxrwx 1 root root 12 Oct 13 2010 backup -> /misc/backup
drwxr-xr-x 2 root root 4096 Oct 27 2011 cdrom
drwxr-xr-x 2 root root 4096 Aug 30 2010 ext_disk
drwx------ 2 root root 4096 Jun 16 2010 floppy
drwxr-xr-x 2 root root 4096 Jul 23 2010 usbkey
|
has couple of extra mount points for manual mount. Sadly I don't think I used once an SD card reader. |
|
Back to top |
|
|
|