Cannot mknod: Input/output error on CT

justaglitch

New Member
Nov 5, 2013
2
0
1
Hello, everyone I just ran into a interesting issue that I cant figure out and its driving me crazy! I have the latest Proxmox installed 3.1-21/93bf03d4. I have FreeNas running connected to FC RAID JBOD array, I'm using NFS and UDF all shares are fine I can intall and run VM's from the NFS but when I try to create a CT the following appears after about 30 secconds into creating the CT. Any help would be appreciated. Thank you


tar: ./dev/ttypa: Cannot mknod: Input/output error
tar: ./dev/ram0: Cannot mknod: Input/output error
tar: ./dev/ttype: Cannot mknod: Input/output error
tar: ./dev/ram6: Cannot mknod: Input/output error
tar: ./dev/ttyp1: Cannot mknod: Input/output error
tar: ./dev/ttypc: Cannot mknod: Input/output error
tar: ./dev/ram3: Cannot mknod: Input/output error
tar: ./dev/loop0: Cannot mknod: Input/output error
tar: ./dev/ttypb: Cannot mknod: Input/output error
tar: ./dev/ram7: Cannot mknod: Input/output error
tar: ./dev/port: Cannot mknod: Input/output error
tar: ./dev/zero: Cannot mknod: Input/output error
tar: ./dev/ptmx: Cannot mknod: Input/output error
tar: ./dev/loop7: Cannot mknod: Input/output error
tar: ./dev/ttyp0: Cannot mknod: Input/output error
tar: ./dev/ptypf: Cannot mknod: Input/output error
tar: ./dev/ttypd: Cannot mknod: Input/output error
tar: ./dev/ttyp6: Cannot mknod: Input/output error
tar: ./dev/ptyp2: Cannot mknod: Input/output error
tar: ./dev/ptyp1: Cannot mknod: Input/output error
tar: ./dev/ttyp7: Cannot mknod: Input/output error
tar: ./dev/kmem: Cannot mknod: Input/output error
tar: ./dev/ptyp5: Cannot mknod: Input/output error
tar: ./dev/mem: Cannot mknod: Input/output error
tar: ./dev/ttyp8: Cannot mknod: Input/output error
tar: ./dev/ram11: Cannot mknod: Input/output error
tar: ./dev/ram10: Cannot mknod: Input/output error
tar: ./dev/ttyp9: Cannot mknod: Input/output error
tar: ./dev/loop2: Cannot mknod: Input/output error
tar: ./dev/loop5: Cannot mknod: Input/output error
tar: ./dev/ptyp6: Cannot mknod: Input/output error
tar: ./dev/ptyp0: Cannot mknod: Input/output error
tar: ./dev/ptypd: Cannot mknod: Input/output error
tar: ./dev/ttyp5: Cannot mknod: Input/output error
tar: ./dev/ram5: Cannot mknod: Input/output error
tar: ./dev/ram2: Cannot mknod: Input/output error
tar: ./dev/tty1: Cannot mknod: Input/output error
tar: ./dev/ttypf: Cannot mknod: Input/output error
tar: ./dev/ptyp8: Cannot mknod: Input/output error
tar: ./dev/ptyp4: Cannot mknod: Input/output error
tar: ./dev/ttyp2: Cannot mknod: Input/output error
tar: ./dev/loop3: Cannot mknod: Input/output error
tar: ./dev/ram12: Cannot mknod: Input/output error
tar: ./dev/console: Cannot mknod: Input/output error
tar: ./dev/ptyp7: Cannot mknod: Input/output error
tar: ./dev/tty: Cannot mknod: Input/output error
tar: ./dev/ptyp3: Cannot mknod: Input/output error
tar: ./dev/null: Cannot mknod: Input/output error
tar: ./dev/ptypb: Cannot mknod: Input/output error
tar: ./dev/full: Cannot mknod: Input/output error
tar: ./dev/ptypa: Cannot mknod: Input/output error
tar: ./dev/ptype: Cannot mknod: Input/output error
tar: ./dev/ttyp4: Cannot mknod: Input/output error
tar: ./dev/ram9: Cannot mknod: Input/output error
tar: ./dev/random: Cannot mknod: Input/output error
tar: ./dev/ram16: Cannot mknod: Input/output error
tar: ./dev/ram1: Cannot mknod: Input/output error
tar: ./dev/ptyp9: Cannot mknod: Input/output error
tar: ./dev/ttyp3: Cannot mknod: Input/output error
tar: ./dev/ram14: Cannot mknod: Input/output error
tar: ./dev/ram13: Cannot mknod: Input/output error
tar: ./dev/urandom: Cannot mknod: Input/output error
tar: ./dev/ptypc: Cannot mknod: Input/output error
tar: ./dev/loop6: Cannot mknod: Input/output error
tar: ./dev/ram15: Cannot mknod: Input/output error
tar: ./dev/loop1: Cannot mknod: Input/output error
tar: ./dev/ram4: Cannot mknod: Input/output error
tar: ./dev/ram8: Cannot mknod: Input/output error
tar: ./dev/loop4: Cannot mknod: Input/output error
tar: Exiting with failure status due to previous errors
 
For me is the same.
Freenas,NFS and when I try to create CT I have:
Creating container private area (/mnt/pve/NAS/template/cache/debian-6.0-standard_6.0-6_i386.tar.gz)
tar: ./dev/ttypa: Cannot mknod: Input/output error
tar: ./dev/ram0: Cannot mknod: Input/output error
tar: ./dev/ttype: Cannot mknod: Input/output error
tar: ./dev/ram6: Cannot mknod: Input/output error
tar: ./dev/ttyp1: Cannot mknod: Input/output error
tar: ./dev/ttypc: Cannot mknod: Input/output error
tar: ./dev/ram3: Cannot mknod: Input/output error
tar: ./dev/loop0: Cannot mknod: Input/output error
tar: ./dev/ttypb: Cannot mknod: Input/output error
tar: ./dev/ram7: Cannot mknod: Input/output error
tar: ./dev/port: Cannot mknod: Input/output error
tar: ./dev/zero: Cannot mknod: Input/output error
tar: ./dev/ptmx: Cannot mknod: Input/output error
tar: ./dev/loop7: Cannot mknod: Input/output error
tar: ./dev/ttyp0: Cannot mknod: Input/output error
tar: ./dev/ptypf: Cannot mknod: Input/output error
tar: ./dev/ttypd: Cannot mknod: Input/output error
tar: ./dev/ttyp6: Cannot mknod: Input/output error
tar: ./dev/ptyp2: Cannot mknod: Input/output error
tar: ./dev/ptyp1: Cannot mknod: Input/output error
tar: ./dev/ttyp7: Cannot mknod: Input/output error
tar: ./dev/kmem: Cannot mknod: Input/output error
tar: ./dev/ptyp5: Cannot mknod: Input/output error
tar: ./dev/mem: Cannot mknod: Input/output error
tar: ./dev/ttyp8: Cannot mknod: Input/output error
tar: ./dev/ram11: Cannot mknod: Input/output error
tar: ./dev/ram10: Cannot mknod: Input/output error
tar: ./dev/ttyp9: Cannot mknod: Input/output error
tar: ./dev/loop2: Cannot mknod: Input/output error
tar: ./dev/loop5: Cannot mknod: Input/output error
tar: ./dev/ptyp6: Cannot mknod: Input/output error
tar: ./dev/ptyp0: Cannot mknod: Input/output error
tar: ./dev/ptypd: Cannot mknod: Input/output error
tar: ./dev/ttyp5: Cannot mknod: Input/output error
tar: ./dev/ram5: Cannot mknod: Input/output error
tar: ./dev/ram2: Cannot mknod: Input/output error
tar: ./dev/tty1: Cannot mknod: Input/output error
tar: ./dev/ttypf: Cannot mknod: Input/output error
tar: ./dev/ptyp8: Cannot mknod: Input/output error
tar: ./dev/ptyp4: Cannot mknod: Input/output error
tar: ./dev/ttyp2: Cannot mknod: Input/output error
tar: ./dev/loop3: Cannot mknod: Input/output error
tar: ./dev/ram12: Cannot mknod: Input/output error
tar: ./dev/console: Cannot mknod: Input/output error
tar: ./dev/ptyp7: Cannot mknod: Input/output error
tar: ./dev/tty: Cannot mknod: Input/output error
tar: ./dev/ptyp3: Cannot mknod: Input/output error
tar: ./dev/null: Cannot mknod: Input/output error
tar: ./dev/ptypb: Cannot mknod: Input/output error
tar: ./dev/full: Cannot mknod: Input/output error
tar: ./dev/ptypa: Cannot mknod: Input/output error
tar: ./dev/ptype: Cannot mknod: Input/output error
tar: ./dev/ttyp4: Cannot mknod: Input/output error
tar: ./dev/ram9: Cannot mknod: Input/output error
tar: ./dev/random: Cannot mknod: Input/output error
tar: ./dev/ram16: Cannot mknod: Input/output error
tar: ./dev/ram1: Cannot mknod: Input/output error
tar: ./dev/ptyp9: Cannot mknod: Input/output error
tar: ./dev/ttyp3: Cannot mknod: Input/output error
tar: ./dev/ram14: Cannot mknod: Input/output error
tar: ./dev/ram13: Cannot mknod: Input/output error
tar: ./dev/urandom: Cannot mknod: Input/output error
tar: ./dev/ptypc: Cannot mknod: Input/output error
tar: ./dev/loop6: Cannot mknod: Input/output error
tar: ./dev/ram15: Cannot mknod: Input/output error
tar: ./dev/loop1: Cannot mknod: Input/output error
tar: ./dev/ram4: Cannot mknod: Input/output error
tar: ./dev/ram8: Cannot mknod: Input/output error
tar: ./dev/loop4: Cannot mknod: Input/output error
tar: Exiting with failure status due to previous errors
vps-create ERROR: Unpack /mnt/pve/NAS/template/cache/debian-6.0-standard_6.0-6_i386.tar.gz failed
Creation of container private area failed
TASK ERROR: command 'vzctl --skiplock create 102 --ostemplate /mnt/pve/NAS/template/cache/debian-6.0-standard_6.0-6_i386.tar.gz --private /mnt/pve/NAS/private/102' failed: exit code 48
 
I don't know if is a reliable test but I tried to create, edit and delete folders and files directly from the terminal and it works.
I also tried to create a new user with administrator privileges in Proxmox and on the NAS, but the problem remains. Thank you.
 
Bumping the thread since I have exactly the same problem. Everything else in Proxmox (3.2.4) works fine. The last and only issue I have is creating OpenVZ containers on a FreeNAS 9.2.16 NFS Share. The log errors are similar to that of the OP.

Creating container private area (/mnt/pve/freenas-nfs/template/cache/debian-7.0-x86_64-minimal.tar.gz)
tar: ./dev/simfs: Cannot mknod: Input/output error
tar: ./dev/null: Cannot mknod: Input/output error
tar: ./lib/udev/devices/ptype: Cannot mknod: Input/output error
tar: ./lib/udev/devices/ptyp7: Cannot mknod: Input/output error
tar: ./lib/udev/devices/ptyp4: Cannot mknod: Input/output error
tar: ./lib/udev/devices/ptyp5: Cannot mknod: Input/output error
tar: ./lib/udev/devices/ttyp5: Cannot mknod: Input/output error
tar: ./lib/udev/devices/ttypc: Cannot mknod: Input/output error
tar: ./lib/udev/devices/ptyp8: Cannot mknod: Input/output error
tar: ./lib/udev/devices/ptyp0: Cannot mknod: Input/output error
tar: ./lib/udev/devices/ptyp2: Cannot mknod: Input/output error
tar: ./lib/udev/devices/ptyp3: Cannot mknod: Input/output error
tar: ./lib/udev/devices/ttyp6: Cannot mknod: Input/output error
tar: ./lib/udev/devices/ttyp3: Cannot mknod: Input/output error
tar: ./lib/udev/devices/ptyp6: Cannot mknod: Input/output error
tar: ./lib/udev/devices/ttyp2: Cannot mknod: Input/output error
tar: ./lib/udev/devices/ttypb: Cannot mknod: Input/output error
tar: ./lib/udev/devices/ttypa: Cannot mknod: Input/output error
tar: ./lib/udev/devices/ptyp1: Cannot mknod: Input/output error
tar: ./lib/udev/devices/ttypf: Cannot mknod: Input/output error
tar: ./lib/udev/devices/ptypa: Cannot mknod: Input/output error
tar: ./lib/udev/devices/ttypd: Cannot mknod: Input/output error
tar: ./lib/udev/devices/ttyp8: Cannot mknod: Input/output error
tar: ./lib/udev/devices/ptypd: Cannot mknod: Input/output error
tar: ./lib/udev/devices/ptypf: Cannot mknod: Input/output error
tar: ./lib/udev/devices/ptypb: Cannot mknod: Input/output error
tar: ./lib/udev/devices/ttyp7: Cannot mknod: Input/output error
tar: ./lib/udev/devices/ptyp9: Cannot mknod: Input/output error
tar: ./lib/udev/devices/ttype: Cannot mknod: Input/output error
tar: ./lib/udev/devices/ttyp1: Cannot mknod: Input/output error
tar: ./lib/udev/devices/ptmx: Cannot mknod: Input/output error
tar: ./lib/udev/devices/ttyp0: Cannot mknod: Input/output error
tar: ./lib/udev/devices/ptypc: Cannot mknod: Input/output error
tar: ./lib/udev/devices/ttyp9: Cannot mknod: Input/output error
tar: ./lib/udev/devices/ttyp4: Cannot mknod: Input/output error
tar: ./lib/udev/devices/simfs: Cannot mknod: Input/output error
tar: Exiting with failure status due to previous errors
vps-create ERROR: Unpack /mnt/pve/freenas-nfs/template/cache/debian-7.0-x86_64-minimal.tar.gz failed
Creation of container private area failed
TASK ERROR: command 'vzctl --skiplock create 102 --ostemplate /mnt/pve/freenas-nfs/template/cache/debian-7.0-x86_64-minimal.tar.gz --private /mnt/pve/freenas-nfs/private/102' failed: exit code 48

Creating an OpenVZ container on the local storage works, though. I can't figure out what is causing the problem. Has anyone found a solution for themselves? I am sure there are plenty people using FreeNAS as an NFS share for Proxmox.
 
No, it's an UFS mount. I will be switching to ZFS mount once I get the necessery hardware. So far I am testing things with a UFS mount.
I will write down the permissions that I have set in FreeNAS:

Storage tab:

(UFS) /mnt/hdd
Owner (user): root
Owner (group): wheel
Permission type: Unix
owner: rwx
group: rx
other: rx

Sharing / Unix (NFS) tab:

/mnt/hdd
Authorized Network: <<here is the network of the proxmox machine>>
Authorized IP addresses or hosts: <<here is the ip address of my proxmox machine>>
All Directories: checked
Maproot User: root
Maproot Group: wheel
Mapall User: N/A
Mapall Group: N/A
Path: /mnt/hdd
(other unchecked settings omitted)

I have also tried the other way around with the Map* settings, ie.

Maproot User: N/A
Maproot Group: N/A
Mapall User: root
Mapall Group: wheel

But in either case I get the same errors when creating an OpenVZ container on the nfs share. KVM virtual machines and their backups work fine on the nfs share with close to gigabit speeds.
 
Last edited:
I'm sorry, but I no nothing about UFS NFS share mount options. When you shift to ZFS be advised though, that you need these acl options for NFS shares to be able to create CT's on the share:
aclmode passthrough
aclinherit passthrough-x
 
Thank you. I will probably setup a ZFS share for testing soon to check it out. The hardware I have at the moment is pretty barebones so I have sticked with UFS, but as you said the UFS sharing options are very limited compared to a ZFS share. I hope that's what's causing the problem. I will let know if things work out.
 
SOLVED

Just created a ZFS mount and Dataset. I have also added a new NFS share for this ZFS DataSet. The GUI for permissions in FreeNAS is exactly the same for ZFS and UFS, so the settings I used are the ones I pasted 2 posts above. (For zfs nfs sharing options I used 'Mapall user: root' and 'Mapall group: wheel' although I suppose it would also work the otherway around but I didn't try).

Then I proceeded to add this new share to Proxmox, uploaded a new template to the share and created an OpenVZ container on it. This time without any errors!

TL;DR: Just use ZFS instead of UFS

Thank you!
 
Last edited:
SOLVED

Just created a ZFS mount and Dataset. I have also added a new NFS share for this ZFS DataSet. The GUI for permissions in FreeNAS is exactly the same for ZFS and UFS, so the settings I used are the ones I pasted 2 posts above. (For zfs nfs sharing options I used 'Mapall user: root' and 'Mapall group: wheel' although I suppose it would also work the otherway around but I didn't try).

Then I proceeded to add this new share to Proxmox, uploaded a new template to the share and created an OpenVZ container on it. This time without any errors!

TL;DR: Just use ZFS instead of UFS

Thank you!

I am also experiencing this issue, with FreeNAS 9.2.1.7. I have a UFS partition with an NFS share. I can't change it to ZFS because a. there is a lot of data on it and b. I use a hardware RAID controller and ZFS will not play nice with that.
Is there another solution i could try to get OpenVZ containers to work?
 
Edit: sorry about the layout, i can't get it to do any formatting.. I just updated ProxMox (3.3-2/995e687e running kernel: 2.6.32-33-pve) and FreeNAS (9.2.1.8) but there are no changes in this issue. See below for the error i'm getting. FYI there are no issues with VM's, only CT.
Code:
 Creating container private area (/mnt/pve/FreeNAS/template/cache/debian-7-turnkey-domain-controller_13.0-1_amd64.tar.gz) tar: ./dev/urandom: Cannot mknod: Input/output error tar: ./dev/loop3: Cannot mknod: Input/output error tar: ./dev/port: Cannot mknod: Input/output error tar: ./dev/ram8: Cannot mknod: Input/output error tar: ./dev/loop1: Cannot mknod: Input/output error tar: ./dev/ram16: Cannot mknod: Input/output error tar: ./dev/ram9: Cannot mknod: Input/output error tar: ./dev/ram14: Cannot mknod: Input/output error tar: ./dev/ram12: Cannot mknod: Input/output error tar: ./dev/kmem: Cannot mknod: Input/output error tar: ./dev/random: Cannot mknod: Input/output error tar: ./dev/tty0: Cannot mknod: Input/output error tar: ./dev/loop6: Cannot mknod: Input/output error tar: ./dev/ram2: Cannot mknod: Input/output error tar: ./dev/full: Cannot mknod: Input/output error tar: ./dev/ram6: Cannot mknod: Input/output error tar: ./dev/ram0: Cannot mknod: Input/output error tar: ./dev/ptmx: Cannot mknod: Input/output error tar: ./dev/loop5: Cannot mknod: Input/output error tar: ./dev/zero: Cannot mknod: Input/output error tar: ./dev/loop2: Cannot mknod: Input/output error tar: ./dev/tty: Cannot mknod: Input/output error tar: ./dev/ram3: Cannot mknod: Input/output error tar: ./dev/ram11: Cannot mknod: Input/output error tar: ./dev/loop4: Cannot mknod: Input/output error tar: ./dev/console: Cannot mknod: Input/output error tar: ./dev/null: Cannot mknod: Input/output error tar: ./dev/ram15: Cannot mknod: Input/output error tar: ./dev/ram1: Cannot mknod: Input/output error tar: ./dev/ram7: Cannot mknod: Input/output error tar: ./dev/loop7: Cannot mknod: Input/output error tar: ./dev/ram5: Cannot mknod: Input/output error tar: ./dev/ram10: Cannot mknod: Input/output error tar: ./dev/ram13: Cannot mknod: Input/output error tar: ./dev/loop0: Cannot mknod: Input/output error tar: ./dev/mapper/control: Cannot mknod: Input/output error tar: ./dev/mem: Cannot mknod: Input/output error tar: ./dev/ram4: Cannot mknod: Input/output error tar: Exiting with failure status due to previous errors vps-create ERROR: Unpack /mnt/pve/FreeNAS/template/cache/debian-7-turnkey-domain-controller_13.0-1_amd64.tar.gz failed
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!