StarCluster - Mailing List Archive

Re: R3 SSD not mounted xvdaa

From: <(no>
Date: Sat, 5 Dec 2015 01:44:42 +0000

Nope, good point. So I
parted /dev/xvdaa mklabel gpt
parted -s /dev/xvdaa mkpart primary 0% 100%
mkfs -t ext4 /dev/xvdaa1
mount -t ext4 /dev/xvdaa1 /mnt
and
root_at_node001:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 7.9G 5.7G 1.8G 77% /

master:/home 7.9G 5.8G 1.7G 78% /home
master:/opt/sge6 7.9G 5.8G 1.7G 78% /opt/sge6
/dev/xvdaa1 74G 180M 70G 1% /mnt

I can add that to my install R at startup script:
USERDATA_SCRIPTS = /root/StarCluster/installR.sh

It might be nice to add the 74G to one of the NFS shares on the master node. I’ll look into that…

Thanks Rayson,

Paul

Subject: Re: [StarCluster] R3 SSD not mounted xvdaa

Did you try to mount sda (/dev/xvdaa) manually? It can be because the SSDs are not formatted by default.

Rayson

==================================================
Open Grid Scheduler - The Official Open Source Grid Engine
http://gridscheduler.sourceforge.net/
http://gridscheduler.sourceforge.net/GridEngine/GridEngineCloud.html

On Fri, Dec 4, 2015 at 3:32 PM, <Paul.VanAllsburg_at_spectrumhealth.org<mailto:Paul.VanAllsburg_at_spectrumhealth.org>> wrote:
I started a simple 2 node with r3.xlarge 4cpu & 80G SSD. I assumed part or all of that ssd would be used in the nfs share.
Fstab says /dev/xvdaa /mnt but that's not what I got. Did I miss a config entry for the ssd storage?

What I got was:

root_at_master:~# mount
/dev/sda1 on / type ext4 (rw)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
rpc_pipefs on /run/rpc_pipefs type rpc_pipefs (rw)
nfsd on /proc/fs/nfsd type nfsd (rw)

root_at_master:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 7.9G 5.4G 2.2G 72% /
udev 15G 12K 15G 1% /dev
tmpfs 6.0G 216K 6.0G 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 15G 0 15G 0% /run/shm
root_at_master:~#
root_at_master:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
xvdaa 202:6656 0 75G 0 disk
sda 8:0 0 8G 0 disk
└─sda1 8:1 0 8G 0 part /

/etc/fstab is

LABEL=cloudimg-rootfs / ext4 defaults 0 0
/dev/xvdaa /mnt auto defaults,nobootwait,comment=cloudconfig 0 2

root_at_master:/mnt# ll
total 12
drwxr-xr-x 3 root root 4096 Dec 4 19:41 ./
drwxr-xr-x 25 root root 4096 Dec 4 20:02 ../
drwxr-xr-x 2 sgeadmin sgeadmin 4096 Dec 4 19:41 sgeadmin/


node001 is:

root_at_node001:~# mount
/dev/sda1 on / type ext4 (rw)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
rpc_pipefs on /run/rpc_pipefs type rpc_pipefs (rw)
master:/home on /home type nfs (rw,vers=4,addr=172.31.32.194,clientaddr=172.31.32.195)
master:/opt/sge6 on /opt/sge6 type nfs (rw,vers=4,addr=172.31.32.194,clientaddr=172.31.32.195)
root_at_node001:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 7.9G 5.7G 1.8G 77% /
udev 15G 12K 15G 1% /dev
tmpfs 6.0G 216K 6.0G 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 15G 0 15G 0% /run/shm
master:/home 7.9G 5.8G 1.7G 78% /home
master:/opt/sge6 7.9G 5.8G 1.7G 78% /opt/sge6
root_at_node001:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
xvdaa 202:6656 0 75G 0 disk
sda 8:0 0 8G 0 disk
└─sda1 8:1 0 8G 0 part /
root_at_node001:~#




Kind Regards,

Paul Van Allsburg



_______________________________________________
StarCluster mailing list
StarCluster_at_mit.edu<mailto:StarCluster_at_mit.edu>
http://mailman.mit.edu/mailman/listinfo/starcluster

Received on Fri Dec 04 2015 - 20:44:46 EST
This archive was generated by hypermail 2.3.0.

Search:

Sort all by:

Date

Month

Thread

Author

Subject