Cool. Thank you for the info. We ended up making one large partition and
letting both filesystems mount there.

I really appreciate your response.

Sam


On Fri, Jan 15, 2021 at 8:50 PM Bruce Carpenter <bcarpen...@uga.edu> wrote:

> Someone from xCAT can hopefully confirm, but from what I have found, there
> is only *1*​ localdisk.  You can make multiple partitions, but it will
> only use one.  I too needed this functionality you are looking for, and
> gave up, instead writing a custom postscript to mount the other partitions.
> (not the best option, but what I had to do to get it working)
>
> --
>
> Bruce Carpenter
>
> <https://www.google.com/maps/search/101+Cedar+Street+%0D%0A+%0D%0A+Athens,+GA+30602-0001?entry=gmail&source=g>
>
>
> <https://www.google.com/maps/search/101+Cedar+Street+%0D%0A+%0D%0A+Athens,+GA+30602-0001?entry=gmail&source=g>System
> Administrator Spec. EITS – Research Computing
>
> #108 Computing Services
>
> 101 Cedar Street
> <https://www.google.com/maps/search/101+Cedar+Street+%0D%0A+%0D%0A+Athens,+GA+30602-0001?entry=gmail&source=g>
>
> Athens, GA 30602-0001
> <https://www.google.com/maps/search/101+Cedar+Street+%0D%0A+%0D%0A+Athens,+GA+30602-0001?entry=gmail&source=g>
>
> bcarpen...@uga.edu
>
> Desk: 706-542-7391
>
> ------------------------------
> *From:* aractha...@gmail.com <aractha...@gmail.com>
> *Sent:* Friday, January 8, 2021 2:07 PM
> *To:* xcat-user@lists.sourceforge.net <xcat-user@lists.sourceforge.net>
> *Subject:* Re: [xcat-user] Using local disks on stateless node
>
> [EXTERNAL SENDER - PROCEED CAUTIOUSLY]
>
>
> Also, in an earlier incarnation in the partition file, I had two
> [localspace] sections, one for each partition. The outcome was the same
> except they both mounted on /dev/sda1 instead of /dev/sda2
>
>
>
> Sam
>
>
>
> *From:* aractha...@gmail.com <aractha...@gmail.com>
> *Sent:* Friday, January 8, 2021 1:57 PM
> *To:* xcat-user@lists.sourceforge.net
> *Subject:* Using local disks on stateless node
>
>
>
> Hey all,
>
>     We’ve decided to use the local disks on our compute nodes for /tmp and
> /var/log. I’ve sort of gotten it to work, except that both filesystems seem
> to mount on the same partition.  Anyone ever seen this, or have any ideas
> of what I’m missing? Also, what’s up with the “rw” filesystem mounted on
> /.sllocal/log?
>
>
>
> Thank you
>
>    Sam
>
> RHEL 7.3
> xCAT-server version 2.13.1
>
>
>
> From XCAT Server:
>
> [root@manage ~]# tabdump litefile
>
> #image,file,options,comments,disable
>
> "KSU-rhels7.3-netboot-compute-ld","/tmp/","localdisk",,
>
> "KSU-rhels7.3-netboot-compute-ld","/var/log/","localdisk",,
>
>
>
> [root@manage ~]# cat  compute.rhels7.3.partitionfile
>
> enable=yes
>
> enablepart=yes
>
>
>
> [disk]
>
> dev=/dev/sda
>
> clear=yes
>
> parts=30,50
>
>
>
> [localspace]
>
> dev=/dev/sda1
>
> fstype=ext4
>
> dev=/dev/sda2
>
> fstype=ext4
>
>
>
>
>
> From Node:
>
>
>
> [root@node35 log]# df -h
>
> Filesystem                       Size  Used Avail Use% Mounted on
>
> rootfs                            94G  4.6G   90G   5% /
>
> devtmpfs                          94G     0   94G   0% /dev
>
> tmpfs                             94G     0   94G   0% /dev/shm
>
> tmpfs                             94G   18M   94G   1% /run
>
> tmpfs                             94G     0   94G   0% /sys/fs/cgroup
>
> rw                                94G   16K   94G   1% /.sllocal/log
>
> /dev/sda2                         55G   87M   52G   1% /tmp
>
> <REDACTED>:/usr/local/scripts   13G   11G  3.0G  78% /usr/local/scripts
>
> data                              49T   31T   19T  63% /data
>
> oldssd                            15T   92G   15T   1% /gpfs/oldssd
>
> scratch                           47T  7.6T   40T  17% /scratch
>
> srv                              4.1T  102G  4.0T   3% /srv
>
> SHPC_Data                         11T  522G   11T   5% /gpfs/SHPC_Data
>
> SHPC_Scratch                     2.7T  484G  2.2T  19% /gpfs/SHPC_Scratch
>
> tmpfs                             19G     0   19G   0% /run/user/0
> [root@node35 tmp]# ls -l /
>
> total 772
>
> …
>
> drwxrwxrwt  11 root root    4096 Jan  8 18:49 tmp
>
> …
>
> [root@node35 ~]# cd /tmp
>
> [root@node35 tmp]# df -h .
>
> Filesystem      Size  Used Avail Use% Mounted on
>
> /dev/sda2        55G   87M   52G   1% /tmp
>
>
>
> [root@node35 tmp]# cd /var
>
> [root@node35 var]# ls -l
>
> total 4
>
> …
>
> drwxr-xr-x  3 root root 4096 Jan  7 22:18 log
>
> …
>
> [root@node35 var]# cd /var/log
>
> [root@node35 log]# df -h .
>
> Filesystem      Size  Used Avail Use% Mounted on
>
> /dev/sda2        55G   87M   52G   1% /var/log
>
>
> _______________________________________________
> xCAT-user mailing list
> xCAT-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xcat-user
>
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to