[GTALUG] Computer wierdness

Lennart Sorensen lsorense at csclub.uwaterloo.ca
Sun Aug 30 02:30:50 UTC 2015


On Sat, Aug 29, 2015 at 06:15:35PM -0500, o1bigtenor wrote:
> On Sat, Aug 29, 2015 at 4:40 PM, William Park <opengeometry at yahoo.ca> wrote:
> 
> > On Sat, Aug 29, 2015 at 05:37:01AM -0500, o1bigtenor wrote:
> > > Greetings
> > >
> > > I don't know what's going on but this is weird!
> > >
> > > System has been running Debian 8 with things going good (raid mounts so
> > so
> > > when saving a file after a reboot all I need to do is click on the listed
> > > array give the root password and bob's your uncle).
> > >
> > > (Its a uefi setup)
> > > Well this morning - - -
> > > fdisk -l shows the array
> > > its not mounted
> >
> > fdisk doesn't know anything about what is mounted and where.  For
> > mounted stuffs, try
> >     - df, mount, lsblk -f
> >     - /proc/mounts, /etc/mtab
> >
> 
> df
> 
> command not found

Weird.

> mount
> 
> # mount
> sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
> proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
> udev on /dev type devtmpfs
> (rw,relatime,size=10240k,nr_inodes=8242416,mode=755)
> devpts on /dev/pts type devpts
> (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
> tmpfs on /run type tmpfs (rw,nosuid,relatime,size=13191704k,mode=755)
> /dev/sda3 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
> securityfs on /sys/kernel/security type securityfs
> (rw,nosuid,nodev,noexec,relatime)
> tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
> tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
> tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
> cgroup on /sys/fs/cgroup/systemd type cgroup
> (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
> pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
> efivarfs on /sys/firmware/efi/efivars type efivarfs
> (rw,nosuid,nodev,noexec,relatime)
> cgroup on /sys/fs/cgroup/blkio type cgroup
> (rw,nosuid,nodev,noexec,relatime,blkio)
> cgroup on /sys/fs/cgroup/freezer type cgroup
> (rw,nosuid,nodev,noexec,relatime,freezer)
> cgroup on /sys/fs/cgroup/cpuset type cgroup
> (rw,nosuid,nodev,noexec,relatime,cpuset)
> cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup
> (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
> cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup
> (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
> cgroup on /sys/fs/cgroup/devices type cgroup
> (rw,nosuid,nodev,noexec,relatime,devices)
> cgroup on /sys/fs/cgroup/perf_event type cgroup
> (rw,nosuid,nodev,noexec,relatime,perf_event)
> systemd-1 on /proc/sys/fs/binfmt_misc type autofs
> (rw,relatime,fd=22,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
> mqueue on /dev/mqueue type mqueue (rw,relatime)
> debugfs on /sys/kernel/debug type debugfs (rw,relatime)
> hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
> /dev/sda5 on /home type ext4 (rw,relatime,data=ordered)
> /dev/sda1 on /boot/efi type vfat
> (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=utf8,shortname=mixed,errors=remount-ro)
> rpc_pipefs on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
> tmpfs on /run/user/117 type tmpfs
> (rw,nosuid,nodev,relatime,size=6595852k,mode=700,uid=117,gid=124)
> tmpfs on /run/user/1000 type tmpfs
> (rw,nosuid,nodev,relatime,size=6595852k,mode=700,uid=1000,gid=1000)
> fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
> gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse
> (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
> 
> 
> # lsblk -f
> NAME    FSTYPE            LABEL        UUID
> MOUNTPOINT
> sda
> ├─sda1  vfat                           8642-E734
> /boot/efi
> ├─sda2
> ├─sda3  ext4                           a3fbea19-5b7d-47af-b06c-08c49171211b
> /
> ├─sda4  swap                           354a6e33-5743-4c97-bfb9-fd6f9d4521e6
> [SWAP]
> └─sda5  ext4                           b36dbfc6-6897-4311-aa87-9a958ccad072
> /home
> sdb
> └─sdb1  linux_raid_member debianbase:0 79baaa2f-0aa2-b9fa-18e2-ea6b6e2846b3
>   └─md0
> sdc
> └─sdc1  linux_raid_member debianbase:0 79baaa2f-0aa2-b9fa-18e2-ea6b6e2846b3
>   └─md0
> sdd
> ├─sdd1  ext2                           a0ce336b-35cd-4413-a1c7-e77a1a4e91a6
> ├─sdd4
> ├─sdd5  ext4                           bbe77e50-0eaa-4048-934e-9f1b72b157ff
> ├─sdd6  ext4                           533f504b-30a6-4cf6-86e9-56772c87bae3
> ├─sdd7  ext4                           ff6bcbe9-f25f-4738-ba6b-5ea3c2fe0b70
> ├─sdd8  ext4                           2d0d1953-dae6-4e33-8d04-cc685e2e36fb
> ├─sdd9  ext4                           df754d9a-3dcf-470f-8e26-d38ef6f82df0
> └─sdd10 swap                           04daef55-ff1b-4fe5-a897-ebe397a145b6
> [SWAP]
> sde
> └─sde1  linux_raid_member debianbase:0 79baaa2f-0aa2-b9fa-18e2-ea6b6e2846b3
>   └─md0
> sdf
> └─sdf1  linux_raid_member debianbase:0 79baaa2f-0aa2-b9fa-18e2-ea6b6e2846b3
>   └─md0
> sr0
> 
> The last two return the same result as #mount.
> 
> 
> 
> >
> > >
> > > the command I used to use for mounting in Debian 7 no longer works
> > >
> > > so - - - - any suggestions?
> >
> > Which command?
> >
> 
> mount /dev/dm-0 /home/myhome/RAID
> 
> I have been using the suspend command on my LXDE manager - - - wondering
> if that might have something to do with the problem.
> 
> So the array (raid10) is there but it is not getting mounted. The mdadm man
> page isn't
> very useful for this issue being so terse to be almost useless. There is
> really only
> information for the establishment and repair but none for remount or any
> mounting
> issues!

What entry do you have for your raid stuff in /etc/fstab?

And as already said, software raid does NOT use /dev/dm devices, it uses
/dev/md devices.  dm is for device mapper, which you will see if you use
dmraid (which I think most people have fortunately stopped doing), or lvm
(which many people are using) or encrypted disks (which some people use).

What does fdisk -l /dev/md0 show?  Did you partition the raid or is the
filesystem on the full raid?

-- 
Len Sorensen


More information about the talk mailing list