gmirror mount operation not supported by device

General questions about the FreeBSD operating system. Ask here if your question does not fit elsewhere.

gmirror mount operation not supported by device

Postby lifanov » 04 Feb 2010, 00:34

I have a not-so-sophisticated install of FreeBSD on a gmirror of two hard drives. The underlying fs is UFS2 with soft updates.
But I can't mount anything useful (specifically: unionfs, nullfs, linproc) on it. I can mount msdosfs.
I run many FreeBSD systems, but this is the only one with gmirror, so I ask: is it a gmirror deficiency or did I break something?
lifanov
Junior Member
 
Posts: 33
Joined: 17 Dec 2009, 19:41

Postby OH » 04 Feb 2010, 01:06

You should really give some more info here. Like [cmd=]df[/cmd]'s output, the command that fails and the error message that goes with the failure.
OH
Member
 
Posts: 209
Joined: 25 Aug 2009, 09:32
Location: The Netherlands

Postby lifanov » 04 Feb 2010, 01:23

Alright, [CMD="#"]df -h[/CMD] before [CMD="#"]rm -r /boot/kernel && mv /boot/kernel{.old,}[/CMD]
Code: Select all
lifanovbsd0# df -h
Filesystem            Size    Used   Avail Capacity  Mounted on
/dev/mirror/gm0s1a    496M    491M    -34M   108%    /
devfs                 1.0K    1.0K      0B   100%    /dev
/dev/mirror/gm0s1e    496M     46K    456M     0%    /tmp
/dev/mirror/gm0s1f    667G     20G    593G     3%    /usr
/dev/mirror/gm0s1d    4.8G    184M    4.3G     4%    /var
/dev/da0p2            931G    265G    666G    28%    /mnt
/dev/da0p2            931G    265G    666G    28%    /mnt
lifanovbsd0#

after
Code: Select all
lifanovbsd0# df -h
Filesystem            Size    Used   Avail Capacity  Mounted on
/dev/mirror/gm0s1a    496M    251M    205M    55%    /
devfs                 1.0K    1.0K      0B   100%    /dev
/dev/mirror/gm0s1e    496M    122K    456M     0%    /tmp
/dev/mirror/gm0s1f    667G     19G    595G     3%    /usr
/dev/mirror/gm0s1d    4.8G    184M    4.3G     4%    /var
/dev/da0p2            931G    265G    666G    28%    /mnt
lifanovbsd0#


Command that fails:
Code: Select all
lifanovbsd0# mkdir one two
lifanovbsd0# mount_unionfs one two
mount_unionfs: /root/two: : Operation not supported by device
lifanovbsd0#


Same deal is with nullfs and linprocfs.

Side question: moving kernel directory to free up space was the last thing I did. Is that safe?
lifanov
Junior Member
 
Posts: 33
Joined: 17 Dec 2009, 19:41

Postby lifanov » 04 Feb 2010, 03:13

Wow, this was my stupid.
The kernel modules had version mismatches and rebooting with the old kernel fixed everything.
lifanov
Junior Member
 
Posts: 33
Joined: 17 Dec 2009, 19:41


Return to General

Who is online

Users browsing this forum: No registered users and 0 guests