data partition missing

Predrag Punosevac punosevac72 at gmail.com
Thu Jun 26 09:43:59 PDT 2014


Sorry for the noise but as my adventure continues through the DragonFly
land I am hitting some occasional bumps on the road.

The freshly installed server which runs DF 3.8.1 is actaully a
decomissioned node of a Hadoop cluster having a very low end LSI 2008
SAS hardware RAID card capable of only doing RAID 0 and RAID 1. Before
installig DF I configured 8 HDD as a single virtual HDD (RAID 10)
through LSI boot interface totaling 3.7 TB on which DF is installed.
During the installation I commited about 300 GB to the system

/boot
/swap
/

and I declared the rest as a partition /data (3.4 TB)

I just noticed that /data is not mounted 

backup1# df -h
Filesystem        Size   Used  Avail Capacity  Mounted on
ROOT              298G   6.9G   292G     2%    /
devfs             1.0K   1.0K     0B   100%    /dev
/dev/da0s1a       756M   112M   584M    16%    /boot
/pfs/@@-1:00001   298G   6.9G   292G     2%    /var
/pfs/@@-1:00002   298G   6.9G   292G     2%    /tmp
/pfs/@@-1:00003   298G   6.9G   292G     2%    /usr
/pfs/@@-1:00004   298G   6.9G   292G     2%    /home
/pfs/@@-1:00005   298G   6.9G   292G     2%    /usr/obj
/pfs/@@-1:00006   298G   6.9G   292G     2%    /var/crash
/pfs/@@-1:00007   298G   6.9G   292G     2%    /var/tmp
procfs            4.0K   4.0K     0B   100%    /proc

I examined /etc/fstab 


# Device        Mountpoint      FStype  Options         Dump    Pass#
/dev/da0s1a      /boot           ufs     rw              1       1
/dev/da0s1b      none            swap    sw              0       0
/dev/da0s1d      /               hammer  rw              1       1
/pfs/var         /var            null    rw              0       0
/pfs/tmp         /tmp            null    rw              0       0
/pfs/usr         /usr            null    rw              0       0
/pfs/home        /home           null    rw              0       0
/pfs/usr.obj    /usr/obj         null    rw              0       0
/pfs/var.crash  /var/crash       null    rw              0       0
/pfs/var.tmp    /var/tmp         null    rw              0       0
proc             /proc           procfs  rw              0       0

and

backup1# ls /dev/d*
/dev/da0        /dev/da0s1a     /dev/da0s1d     /dev/devctl
/dev/da0s1      /dev/da0s1b     /dev/da0s1e     /dev/devfs

and took a clue from it. Mounting /dev/da0s1e from the command line

backup1# mount /dev/da0s1e /data reveals missing partition

backup1# df -h
Filesystem        Size   Used  Avail Capacity  Mounted on
ROOT              298G   7.4G   291G     2%    /
devfs             1.0K   1.0K     0B   100%    /dev
/dev/da0s1a       756M   112M   584M    16%    /boot
/pfs/@@-1:00001   298G   7.4G   291G     2%    /var
/pfs/@@-1:00002   298G   7.4G   291G     2%    /tmp
/pfs/@@-1:00003   298G   7.4G   291G     2%    /usr
/pfs/@@-1:00004   298G   7.4G   291G     2%    /home
/pfs/@@-1:00005   298G   7.4G   291G     2%    /usr/obj
/pfs/@@-1:00006   298G   7.4G   291G     2%    /var/crash
/pfs/@@-1:00007   298G   7.4G   291G     2%    /var/tmp
procfs            4.0K   4.0K     0B   100%    /proc
ROOT              3.3T   784M   3.3T     0%    /data


Obviously there is a file system on /dev/da0s1e and by pocking little
bit around it looks like it is properly configured to run HAMMER

backup1# hammer history /data/test.txt
/data/test.txt  00000001000007a5 clean {
    0000000100008020 26-Jun-2014 07:15:51
    0000000100008060 26-Jun-2014 07:16:45
    0000000100008090 26-Jun-2014 07:40:03
}

Did I screw up anything during the installation and what is the correct
way to mount /data from /etc/fstab?


Most Kind Regards,
Predrag







More information about the Users mailing list