Persistent USB mount locations on Pogoplug (and other Linux devices) August 08, 2017 09:09PM |
Registered: 7 years ago Posts: 156 |
mount /dev/mtdblock3 /opt mount `findfs UUID="A6A0CA0F20419853"` /pogo1 mount `findfs UUID="21E599BF9F0F2CAB"` /pogo2 opt/etc/init.d/S08samba start
Re: Persistent USB mount locations on Pogoplug (and other Linux devices) August 08, 2017 11:36PM |
Admin Registered: 13 years ago Posts: 18,555 |
uname -a
mount /dev/mtdblock3 /opt mount `findfs UUID="A6A0CA0F20419853"` /pogo1 mount `findfs UUID="21E599BF9F0F2CAB"` /pogo2 for num in 0 1 2 3 4 5 6 7 8 9; do if /bin/mountpoint /pogo1 -q ; then break fi sleep 1 done for num in 0 1 2 3 4 5 6 7 8 9; do if /bin/mountpoint /pogo2 -q ; then break fi sleep 1 done opt/etc/init.d/S08samba start
Re: Persistent USB mount locations on Pogoplug (and other Linux devices) August 09, 2017 09:34AM |
Registered: 7 years ago Posts: 156 |
Re: Persistent USB mount locations on Pogoplug (and other Linux devices) August 09, 2017 06:21PM |
Admin Registered: 13 years ago Posts: 18,555 |
#!/bin/sh # mount /dev/mtdblock3 /opt mount `findfs UUID="A6A0CA0F20419853"` /pogo1 for num in 0 1 2 3 4 5 6 7 8 9; do if /bin/mountpoint /pogo1 -q ; then break fi sleep 1 done mount `findfs UUID="21E599BF9F0F2CAB"` /pogo2 for num in 0 1 2 3 4 5 6 7 8 9; do if /bin/mountpoint /pogo2 -q ; then break fi sleep 1 done opt/etc/init.d/S08samba start exit 0
Re: Persistent USB mount locations on Pogoplug (and other Linux devices) August 09, 2017 08:03PM |
Admin Registered: 13 years ago Posts: 18,555 |
ls -l /dev/disk/by*
Re: Persistent USB mount locations on Pogoplug (and other Linux devices) August 10, 2017 10:37AM |
Registered: 7 years ago Posts: 156 |
[root@Pogoplug ~]# uname -a Linux Pogoplug 2.6.22.18 #81 Tue Oct 19 16:05:00 PDT 2010 armv5tejl unknown
[root@Pogoplug ~]# df -h Filesystem Size Used Available Use% Mounted on /dev/mtdblock2 32.0M 16.5M 15.5M 51% / none 125.0M 52.0k 125.0M 0% /tmp /dev/mtdblock3 91.0M 51.6M 39.4M 57% /opt /tmp/.cemnt/sdb2 595.9G 553.0G 42.9G 93% /tmp/.cemnt/mnt_sdb2 /dev/sdb2 595.9G 553.0G 42.9G 93% /pogo2 /dev/sdc2 148.7G 2.5G 146.2G 2% /pogo3 /tmp/.cemnt/sda2 465.4G 333.9G 131.5G 72% /tmp/.cemnt/mnt_sda2 /dev/sda2 465.4G 333.9G 131.5G 72% /pogo1
[root@Pogoplug ~]# ls -l /dev/sd* brw-r----- 1 root root 8, 0 Feb 26 2008 /dev/sda brw-r----- 1 root root 8, 1 Feb 26 2008 /dev/sda1 brw-r----- 1 root root 8, 10 Feb 26 2008 /dev/sda10 brw-r----- 1 root root 8, 11 Feb 26 2008 /dev/sda11 brw-r----- 1 root root 8, 12 Feb 26 2008 /dev/sda12 brw-r----- 1 root root 8, 13 Feb 26 2008 /dev/sda13 brw-r----- 1 root root 8, 14 Feb 26 2008 /dev/sda14 brw-r----- 1 root root 8, 15 Feb 26 2008 /dev/sda15 brw-r----- 1 root root 8, 2 Feb 26 2008 /dev/sda2 brw-r----- 1 root root 8, 3 Feb 26 2008 /dev/sda3 brw-r----- 1 root root 8, 4 Feb 26 2008 /dev/sda4 brw-r----- 1 root root 8, 5 Feb 26 2008 /dev/sda5 brw-r----- 1 root root 8, 6 Feb 26 2008 /dev/sda6 brw-r----- 1 root root 8, 7 Feb 26 2008 /dev/sda7 brw-r----- 1 root root 8, 8 Feb 26 2008 /dev/sda8 brw-r----- 1 root root 8, 9 Feb 26 2008 /dev/sda9 brw-r----- 1 root root 8, 16 Feb 26 2008 /dev/sdb brw-r----- 1 root root 8, 17 Feb 26 2008 /dev/sdb1 brw-r----- 1 root root 8, 26 Feb 26 2008 /dev/sdb10 brw-r----- 1 root root 8, 27 Feb 26 2008 /dev/sdb11 brw-r----- 1 root root 8, 28 Feb 26 2008 /dev/sdb12 brw-r----- 1 root root 8, 29 Feb 26 2008 /dev/sdb13 brw-r----- 1 root root 8, 30 Feb 26 2008 /dev/sdb14 brw-r----- 1 root root 8, 31 Feb 26 2008 /dev/sdb15 brw-r----- 1 root root 8, 18 Feb 26 2008 /dev/sdb2 brw-r----- 1 root root 8, 19 Feb 26 2008 /dev/sdb3 brw-r----- 1 root root 8, 20 Feb 26 2008 /dev/sdb4 brw-r----- 1 root root 8, 21 Feb 26 2008 /dev/sdb5 brw-r----- 1 root root 8, 22 Feb 26 2008 /dev/sdb6 brw-r----- 1 root root 8, 23 Feb 26 2008 /dev/sdb7 brw-r----- 1 root root 8, 24 Feb 26 2008 /dev/sdb8 brw-r----- 1 root root 8, 25 Feb 26 2008 /dev/sdb9 brw-r----- 1 root root 8, 32 Feb 26 2008 /dev/sdc brw-r----- 1 root root 8, 33 Feb 26 2008 /dev/sdc1 brw-r----- 1 root root 8, 42 Feb 26 2008 /dev/sdc10 brw-r----- 1 root root 8, 43 Feb 26 2008 /dev/sdc11 brw-r----- 1 root root 8, 44 Feb 26 2008 /dev/sdc12 brw-r----- 1 root root 8, 45 Feb 26 2008 /dev/sdc13 brw-r----- 1 root root 8, 46 Feb 26 2008 /dev/sdc14 brw-r----- 1 root root 8, 47 Feb 26 2008 /dev/sdc15 brw-r----- 1 root root 8, 34 Feb 26 2008 /dev/sdc2 brw-r----- 1 root root 8, 35 Feb 26 2008 /dev/sdc3 brw-r----- 1 root root 8, 36 Feb 26 2008 /dev/sdc4 brw-r----- 1 root root 8, 37 Feb 26 2008 /dev/sdc5 brw-r----- 1 root root 8, 38 Feb 26 2008 /dev/sdc6 brw-r----- 1 root root 8, 39 Feb 26 2008 /dev/sdc7 brw-r----- 1 root root 8, 40 Feb 26 2008 /dev/sdc8 brw-r----- 1 root root 8, 41 Feb 26 2008 /dev/sdc9 brw-r----- 1 root root 8, 48 Feb 26 2008 /dev/sdd brw-r----- 1 root root 8, 49 Feb 26 2008 /dev/sdd1 brw-r----- 1 root root 8, 58 Feb 26 2008 /dev/sdd10 brw-r----- 1 root root 8, 59 Feb 26 2008 /dev/sdd11 brw-r----- 1 root root 8, 60 Feb 26 2008 /dev/sdd12 brw-r----- 1 root root 8, 61 Feb 26 2008 /dev/sdd13 brw-r----- 1 root root 8, 62 Feb 26 2008 /dev/sdd14 brw-r----- 1 root root 8, 63 Feb 26 2008 /dev/sdd15 brw-r----- 1 root root 8, 50 Feb 26 2008 /dev/sdd2 brw-r----- 1 root root 8, 51 Feb 26 2008 /dev/sdd3 brw-r----- 1 root root 8, 52 Feb 26 2008 /dev/sdd4 brw-r----- 1 root root 8, 53 Feb 26 2008 /dev/sdd5 brw-r----- 1 root root 8, 54 Feb 26 2008 /dev/sdd6 brw-r----- 1 root root 8, 55 Feb 26 2008 /dev/sdd7 brw-r----- 1 root root 8, 56 Feb 26 2008 /dev/sdd8 brw-r----- 1 root root 8, 57 Feb 26 2008 /dev/sdd9
Re: Persistent USB mount locations on Pogoplug (and other Linux devices) August 10, 2017 05:51PM |
Admin Registered: 13 years ago Posts: 18,555 |
ls -lR /dev/disk/*
lrwxrwxrwx 1 root root 10 Jul 26 01:07 HOME -> ../../sdb1 lrwxrwxrwx 1 root root 10 Jul 26 01:07 rootfs -> ../../sda1
Re: Persistent USB mount locations on Pogoplug (and other Linux devices) August 10, 2017 06:02PM |
Admin Registered: 13 years ago Posts: 18,555 |
e2label /dev/sdb2 e2label /dev/sdc2 e2label /dev/sda2
Re: Persistent USB mount locations on Pogoplug (and other Linux devices) August 11, 2017 07:35AM |
Registered: 7 years ago Posts: 156 |