Automount not working

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

Re: Automount not working

Postby dinjo » Thu Jan 10, 2013 4:40 pm

How can i proceed ahead to debug this ?
dinjo
 
Posts: 258
Joined: Mon Nov 28, 2011 5:59 am

Re: Automount not working

Postby pepedog » Thu Jan 10, 2013 8:32 pm

It might be just the raspberrypi
I did systemctl start devmon@root
Even though I'm booting rootfs on hard drive, when I do partprobe (I have parted installed), the second partition of sd card mounts. Not with usb storage though
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Automount not working

Postby dinjo » Fri Jan 11, 2013 3:26 am

I'll tr with
$this->bbcode_second_pass_code('', 'systemctl start devmon@root')

Will also try out changing fstab to mount it
dinjo
 
Posts: 258
Joined: Mon Nov 28, 2011 5:59 am

Re: Automount not working

Postby dinjo » Sat Jan 12, 2013 7:33 am

I was able to mount after changing /etc/fstab but hotplug is still not working.
$this->bbcode_second_pass_code('', '
[root@alarmpi ~]# mount
/dev/root on / type ext4 (rw,relatime,data=ordered)
devtmpfs on /dev type devtmpfs (rw,relatime,size=239464k,nr_inodes=59866,mode=755)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,relatime)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
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,cpuacct,cpu)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_prio)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=26,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
tmpfs on /tmp type tmpfs (rw)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
/dev/mmcblk0p1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=ascii,shortname=mixed,errors=remount-ro)
/dev/sda2 on /media/Data type ext4 (rw,relatime,data=ordered)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
[root@alarmpi ~]#
')
dinjo
 
Posts: 258
Joined: Mon Nov 28, 2011 5:59 am

Previous

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 45 guests