Add Disk by UUID

List all UUIDs

Use blkid command-line utility to locate/print block device attributes:
$ sudo blkid
Sample output:

/dev/sda1: TYPE="ntfs" UUID="A0F0582EF0580CC2"
/dev/sda2: UUID="8c2da865-13f4-47a2-9c92-2f31738469e8" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda3: TYPE="swap" UUID="5641913f-9bcc-4d8a-8bcb-ddfc3159e70f"
/dev/sda5: UUID="FAB008D6B0089AF1" TYPE="ntfs"
/dev/sdb1: UUID="32c61b65-f2f8-4041-a5d5-3d5ef4182723" SEC_TYPE="ext2" TYPE="ext3"
/dev/sdb2: UUID="41c22818-fbad-4da6-8196-c816df0b7aa8" SEC_TYPE="ext2" TYPE="ext3" 

How do I use UUID to update /etc/fstab file?

Simply use following syntax:

UUID={YOUR-UID}    {/path/to/mount/point}               {file-system-type}    defaults,errors=remount-ro 0       1

Open /etc/fstab:
$ sudo vi /etc/fstab
Append line as follows:

UUID=41c22818-fbad-4da6-8196-c816df0b7aa8  /disk2p2      ext3    defaults,errors=remount-ro 0       1

Save and close the file. To mount new partition immediately using /etc/fstab type:
$ sudo mount -a

Dedupe, dude!

(2) Install RPM modules on OpenFiler
      - conary update beecrypt=contrib.rpath.org@rpl:devel
      - conary update rpm=rpm.rpath.org@rpl:devel/4.4.4

 

Mayno above not needed. Three ingredients: Java, Fuse & SDFS package itself

Goto http://jdk7.java.net/download.html and find the link for JRE or JDK. Copy the link shortcut to clipboard.

On console, do wget <link to jdk>

unpack archive: 

move to /usr/lib/jvm/jdk1.7.0_02

export JAVA_HOME=/usr/lib/jvm/jdk1.7.0_02

nano -w /etc/security/limits.conf

 

 

 

need C compiler to compile sdfs; so:

conary update gcc
conary update libtool
conary update glib:devel
conary update glibc:devel
conary update automake
conary update autoconf
conary update pkgconfig

cd into unpacked fuse directory (sdfs_fuse_2.8.4/fuse_src_sdfs-2.8.4) and do

./configure
make
make install
modprobe fuse

Add '/usr/local/lib' to '/etc/ld.so.conf' and run ldconfig.

 Download and unpack SDFS

tar -xzg sdfs-1.1.0.tar.gz

 

 

=> problem with Glibc version

https://forums.openfiler.com/viewtopic.php?id=6015

 

 

 

Subcategories