ironicbadger Posted February 3, 2014 Author Share Posted February 3, 2014 Weird. Please run ip link and ip addr and post the output. Also systemctl status dhcpcd please. What's the name of your bridge? Is it xenbr0? Link to comment
SchoolBusDriver Posted February 3, 2014 Share Posted February 3, 2014 mount problem is still happening any ideas badger? its been booted for 4+ hours. Do you have an ip address? ip add Can you ping "tower"? ping tower Can you ping the ip address of "tower"? ping X.X.X.X <--- Whatever that is If you have an IP and can ping the IP Address of "Tower"... showmount -e <--- Whatever that is Post back with what you find. Link to comment
pyrater Posted February 3, 2014 Share Posted February 3, 2014 @Badger and Shortbus, Thanx for the reply's! I just changed my unraid network.cfg and arch.cfg to reflect "br0" instead of "xenbr0" and rebooted the unraid machine. (figured maybe it didnt link xenbr0...) Same problem see below: login as: root [email protected]'s password: Last login: Mon Feb 3 17:52:11 2014 from office + OS: Arch Linux x86_64 # Hostname: ArchApplianceVM ### Kernel Release: 3.12.9-2-ARCH ##### Uptime: 0:01 ###### WM: None ; #####; DE: None +##.##### Packages: 159 +########## RAM: 121 MB / 1998 MB #############; Processor Type: Six-Core AMD Opteron(tm) Processor 2419 EE ###############+ $EDITOR: nano ####### ####### Root: 1.2G / 14G (8%) (ext4) .######; ;###;`". .#######; ;#####. #########. .########` ######' '###### ;#### ####; ##' '## #' `# [root@ArchApplianceVM ~]# showmount tower -e clnt_create: RPC: Unknown host [root@ArchApplianceVM ~]# ping google.com PING google.com (74.125.224.166) 56(84) bytes of data. 64 bytes from lax02s01-in-f6.1e100.net (74.125.224.166): icmp_seq=1 ttl=55 time=30.7 ms 64 bytes from lax02s01-in-f6.1e100.net (74.125.224.166): icmp_seq=2 ttl=55 time=27.5 ms ^C --- google.com ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1001ms rtt min/avg/max/mdev = 27.512/29.111/30.711/1.608 ms [root@ArchApplianceVM ~]# ping 192.168.2.1 PING 192.168.2.1 (192.168.2.1) 56(84) bytes of data. 64 bytes from 192.168.2.1: icmp_seq=1 ttl=64 time=0.383 ms 64 bytes from 192.168.2.1: icmp_seq=2 ttl=64 time=0.383 ms ^C --- 192.168.2.1 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1000ms rtt min/avg/max/mdev = 0.383/0.383/0.383/0.000 ms [root@ArchApplianceVM ~]# ping 192.168.2.4 PING 192.168.2.4 (192.168.2.4) 56(84) bytes of data. 64 bytes from 192.168.2.4: icmp_seq=1 ttl=64 time=0.075 ms 64 bytes from 192.168.2.4: icmp_seq=2 ttl=64 time=0.119 ms ^C --- 192.168.2.4 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 999ms rtt min/avg/max/mdev = 0.075/0.097/0.119/0.022 ms [root@ArchApplianceVM ~]# ping tower ping: unknown host tower [root@ArchApplianceVM ~]# showmount -e Export list for ArchApplianceVM: [root@ArchApplianceVM ~]# ip add 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether 00:16:3e:01:45:78 brd ff:ff:ff:ff:ff:ff inet 192.168.2.111/24 brd 192.168.2.255 scope global eth0 valid_lft forever preferred_lft forever inet6 fe80::216:3eff:fe01:4578/64 scope link valid_lft forever preferred_lft forever [root@ArchApplianceVM ~]# ip link 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000 link/ether 00:16:3e:01:45:78 brd ff:ff:ff:ff:ff:ff [root@ArchApplianceVM ~]# FYI i dont know if its helpfull but i do have 2 nics in the host unraid machine. root@Tower:/mnt/cache/.custom/VMs/ArchVM# ifconfig br0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.2.4 netmask 255.255.255.0 broadcast 192.168.2.255 ether 00:30:48:c5:e3:c8 txqueuelen 0 (Ethernet) RX packets 10241 bytes 2687045 (2.5 MiB) RX errors 0 dropped 113 overruns 0 frame 0 TX packets 12878 bytes 5581053 (5.3 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 eth0: flags=4419<UP,BROADCAST,RUNNING,PROMISC,MULTICAST> mtu 1500 ether 00:30:48:c5:e3:c8 txqueuelen 1000 (Ethernet) RX packets 10771 bytes 3001577 (2.8 MiB) RX errors 0 dropped 1 overruns 0 frame 0 TX packets 13683 bytes 5627081 (5.3 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 eth1: flags=4419<UP,BROADCAST,RUNNING,PROMISC,MULTICAST> mtu 1500 ether 00:30:48:c5:e3:c9 txqueuelen 1000 (Ethernet) RX packets 1439 bytes 242719 (237.0 KiB) RX errors 0 dropped 1 overruns 0 frame 0 TX packets 1 bytes 52 (52.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 loop txqueuelen 0 (Local Loopback) RX packets 21971 bytes 7254946 (6.9 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 21971 bytes 7254946 (6.9 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 vif1.0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 ether fe:ff:ff:ff:ff:ff txqueuelen 32 (Ethernet) RX packets 972 bytes 139063 (135.8 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 1509 bytes 244965 (239.2 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 Link to comment
peter_sm Posted February 3, 2014 Share Posted February 3, 2014 Hi, DL the ArchVM_020114.zip Its booted fine, but I do not see anything on /net And this command ] not work, maybe I use swedish keyboard, need to use ctrl key..... config file root@tower:/mnt/cache/Xen/ArchVM# more arch.cfg name = "archVM" bootloader = "pygrub" memory = 2048 #vcpus = 2 disk = [ 'phy:/mnt/cache/Xen/ArchVM/arch.img,xvda,w', # 'phy:/mnt/user/Movie/,xvdb,w' ] vif = [ 'mac=00:16:3e:a2:23:b2,bridge=xenbr0' ] bootloader = "pygrub" Link to comment
ironicbadger Posted February 3, 2014 Author Share Posted February 3, 2014 Hi, DL the ArchVM_020114.zip Its booted fine, but I do not see anything on /net And this command ] not work, maybe I use swedish keyboard, need to use ctrl key..... config file root@tower:/mnt/cache/Xen/ArchVM# more arch.cfg name = "archVM" bootloader = "pygrub" memory = 2048 #vcpus = 2 disk = [ 'phy:/mnt/cache/Xen/ArchVM/arch.img,xvda,w', # 'phy:/mnt/user/Movie/,xvdb,w' ] vif = [ 'mac=00:16:3e:a2:23:b2,bridge=xenbr0' ] bootloader = "pygrub" 1. It is Ctrl + ] to escape the VM console. 2. You won't see anything under /net until you tell it where to look. ls /net/Tower/ <--- this will show you /mnt if it worked Link to comment
ironicbadger Posted February 3, 2014 Author Share Posted February 3, 2014 [root@ArchApplianceVM ~]# ip add 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether 00:16:3e:01:45:78 brd ff:ff:ff:ff:ff:ff inet 192.168.2.111/24 brd 192.168.2.255 scope global eth0 valid_lft forever preferred_lft forever inet6 fe80::216:3eff:fe01:4578/64 scope link valid_lft forever preferred_lft forever What am I missing? Does it not have an IP of 192.168.2.111 ? Looks like it works to me... Link to comment
peter_sm Posted February 3, 2014 Share Posted February 3, 2014 Thanks, now I see my share //Peter Link to comment
pyrater Posted February 3, 2014 Share Posted February 3, 2014 it does have a ip of 192.168.2.111 yes [root@ArchApplianceVM ~]# ip link 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAU group default link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP de DEFAULT group default qlen 1000 link/ether 00:16:3e:01:45:78 brd ff:ff:ff:ff:ff:ff [root@ArchApplianceVM ~]# ip addr 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group defa t link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP oup default qlen 1000 link/ether 00:16:3e:01:45:78 brd ff:ff:ff:ff:ff:ff inet 192.168.2.111/24 brd 192.168.2.255 scope global eth0 valid_lft forever preferred_lft forever inet6 fe80::216:3eff:fe01:4578/64 scope link valid_lft forever preferred_lft forever Link to comment
peter_sm Posted February 3, 2014 Share Posted February 3, 2014 Thanks, now I see my share //Peter @ironicbadger It show my NFS share, but now I like to see my samba share, but thats maybe is not implemented yet Thanks for exelent WORK! //Peter Link to comment
pyrater Posted February 3, 2014 Share Posted February 3, 2014 FYI smbclient see the shares... [root@ArchApplianceVM ~]# smbclient -L 192.168.2.4 -U% params.c:OpenConfFile() - Unable to open configuration file "/etc/samba/smb.conf": No such file or directory smbclient: Can't load /etc/samba/smb.conf - run testparm to debug it Domain=[WORKGROUP] OS=[unix] Server=[samba 4.0.9] Sharename Type Comment --------- ---- ------- BIN Disk flash Disk Flash share disk1 Disk Disk share disk2 Disk Disk share disk3 Disk Disk share cache Disk Disk share Data Disk IPC$ IPC IPC Service (Media server) Domain=[WORKGROUP] OS=[unix] Server=[samba 4.0.9] Server Comment --------- ------- TOWER Media server Workgroup Master --------- ------- WORKGROUP [root@ArchApplianceVM ~]# Link to comment
ironicbadger Posted February 3, 2014 Author Share Posted February 3, 2014 it does have a ip of 192.168.2.111 yes [root@ArchApplianceVM ~]# ip link 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAU group default link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP de DEFAULT group default qlen 1000 link/ether 00:16:3e:01:45:78 brd ff:ff:ff:ff:ff:ff [root@ArchApplianceVM ~]# ip addr 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group defa t link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP oup default qlen 1000 link/ether 00:16:3e:01:45:78 brd ff:ff:ff:ff:ff:ff inet 192.168.2.111/24 brd 192.168.2.255 scope global eth0 valid_lft forever preferred_lft forever inet6 fe80::216:3eff:fe01:4578/64 scope link valid_lft forever preferred_lft forever So, forgive me. But what's the problem? Link to comment
ironicbadger Posted February 3, 2014 Author Share Posted February 3, 2014 Thanks, now I see my share //Peter @ironicbadger It show my NFS share, but now I like to see my samba share, but thats maybe is not implemented yet Thanks for exelent WORK! //Peter I've been consumed with XBMC today, but if you want to have a go at doing it yourself and then sharing the resulting auto.master file I can add it to the next build. https://wiki.archlinux.org/index.php/autofs#Samba Link to comment
pyrater Posted February 3, 2014 Share Posted February 3, 2014 I thought the Arch img was supposed to auto mount the shares? I can manually mount it via [root@ArchApplianceVM ~]# smbclient -L 192.168.2.4 -U% params.c:OpenConfFile() - Unable to open configuration file "/etc/samba/smb.conf": No such file or directory smbclient: Can't load /etc/samba/smb.conf - run testparm to debug it Domain=[WORKGROUP] OS=[unix] Server=[samba 4.0.9] Sharename Type Comment --------- ---- ------- BIN Disk flash Disk Flash share disk1 Disk Disk share disk2 Disk Disk share disk3 Disk Disk share cache Disk Disk share Data Disk IPC$ IPC IPC Service (Media server) Domain=[WORKGROUP] OS=[unix] Server=[samba 4.0.9] Server Comment --------- ------- TOWER Media server Workgroup Master --------- ------- WORKGROUP [root@ArchApplianceVM ~]# showmount -e Export list for ArchApplianceVM: [root@ArchApplianceVM ~]# mkdir /mnt/tower [root@ArchApplianceVM ~]# ls [root@ArchApplianceVM ~]# mount -t cifs //Tower/Data/ /mnt/tower/ -o user=jsviverette,workgroup=WORKGROUP,ip=192.168.2.4 Password for jsviverette@//Tower/Data/: [root@ArchApplianceVM ~]# cd /mnt/tower/ [root@ArchApplianceVM tower]# ls Android Apps Books Games Misc Movies Music Pictures and Home Vids TV [root@ArchApplianceVM tower]# But isnt it supposed to do this for me? The part 4 video guide covered nothing about manually mounting it, in the end its mounted and im happy but just seems like something is off / shoutmount = broken "clnt_create: RPC: Unknown host" Link to comment
doorunrun Posted February 3, 2014 Share Posted February 3, 2014 IronicBadger, thanks again for providing the ArchVM image! It may not be mandatory, I just went through the process of changing LOCALE and Time Zone on the image you created. Others may want to do likewise; if so here's the poop scoop: For LOCALE: https://wiki.archlinux.org/index.php/Beginners'_Guide#Locale the image is set for en_GB and one can use ^W while in nano to search for the string For TIME ZONE: https://wiki.archlinux.org/index.php/Beginners'_Guide#Time_zone since there's already a symbolic link in the image use "rm /etc/localtime" before adding the one for your time zone. I believe there's no reason to worry about HW clock Link to comment
ironicbadger Posted February 3, 2014 Author Share Posted February 3, 2014 I thought the Arch img was supposed to auto mount the shares? I can manually mount it via [root@ArchApplianceVM ~]# smbclient -L 192.168.2.4 -U% params.c:OpenConfFile() - Unable to open configuration file "/etc/samba/smb.conf": No such file or directory smbclient: Can't load /etc/samba/smb.conf - run testparm to debug it Domain=[WORKGROUP] OS=[unix] Server=[samba 4.0.9] Sharename Type Comment --------- ---- ------- BIN Disk flash Disk Flash share disk1 Disk Disk share disk2 Disk Disk share disk3 Disk Disk share cache Disk Disk share Data Disk IPC$ IPC IPC Service (Media server) Domain=[WORKGROUP] OS=[unix] Server=[samba 4.0.9] Server Comment --------- ------- TOWER Media server Workgroup Master --------- ------- WORKGROUP [root@ArchApplianceVM ~]# showmount -e Export list for ArchApplianceVM: [root@ArchApplianceVM ~]# mkdir /mnt/tower [root@ArchApplianceVM ~]# ls [root@ArchApplianceVM ~]# mount -t cifs //Tower/Data/ /mnt/tower/ -o user=jsviverette,workgroup=WORKGROUP,ip=192.168.2.4 Password for jsviverette@//Tower/Data/: [root@ArchApplianceVM ~]# cd /mnt/tower/ [root@ArchApplianceVM tower]# ls Android Apps Books Games Misc Movies Music Pictures and Home Vids TV [root@ArchApplianceVM tower]# But isnt it supposed to do this for me? The part 4 video guide covered nothing about manually mounting it, in the end its mounted and im happy but just seems like something is off / shoutmount = broken "clnt_create: RPC: Unknown host" It doesn't yet auto mount samba. It does automount NFS. You could edit the VMs /etc/fstab file to make the samba stick between reboots. I installed the relevant samba utils, just didn't configure them to automount. That's why it works manually. Link to comment
pyrater Posted February 3, 2014 Share Posted February 3, 2014 Tracking, how do i get it to automount NFS. I used samba as a work around because i could not get NFS to work. (which was the whole problem) Did i miss a step and noob something up? Link to comment
ironicbadger Posted February 3, 2014 Author Share Posted February 3, 2014 Tracking, how do i get it to automount NFS. I used samba as a work around because i could not get NFS to work. cd /net/Tower/mnt/user/nameofshare Update Tower to match your servers name. Also to see what shares are available run showmount Tower -e Example... root@Tower:~# showmount unraid -e Export list for unraid: /mnt/user/Media * Link to comment
pyrater Posted February 3, 2014 Share Posted February 3, 2014 thats whats not working [root@ArchApplianceVM .custom]# showmount Tower -e clnt_create: RPC: Unknown host [root@ArchApplianceVM .custom]# cd /net/Tower/mnt/user/Data -bash: cd: /net/Tower/mnt/user/Data: No such file or directory [root@ArchApplianceVM .custom]# cd /net/Tower/ -bash: cd: /net/Tower/: No such file or directory tower is my server name =) Link to comment
ironicbadger Posted February 3, 2014 Author Share Posted February 3, 2014 thats whats not working showmount Tower -e clnt_create: RPC: Unknown host It's in the error msg. Your server can't be called Tower, or is called something else in your router. Link to comment
pyrater Posted February 3, 2014 Share Posted February 3, 2014 ok ill look into my router, for now its working with samba, thank you again! Link to comment
ironicbadger Posted February 3, 2014 Author Share Posted February 3, 2014 ok ill look into my router, for now its working with samba, thank you again! You are using the VM image with a date on it right? Link to comment
pyrater Posted February 3, 2014 Share Posted February 3, 2014 No just arch.img not sure what the zip file was called, i downloaded it last night... also 1. i have my plex lib on my unraid cache drive, do you have a good example on how to symlink the databases with the pacman installed version of plex? 2. Is there a way to make the arch img bigger (expand it) Link to comment
ironicbadger Posted February 3, 2014 Author Share Posted February 3, 2014 No just arch.img also 1. i have my plex lib on my unraid cache drive, do you have a good example on how to symlink the databases? 2. Is there a way to make the arch img bigger (expand it) Symlink is ln -sf <source> <target> The Arch img is fixed. I can make a bigger one if you want, but I'm also experimenting with making the /home directory independent of the rootfs (the OS) so you could potentially mount the /home dir via NFS to an unraid share. Not sure how well that'll work due to the network delay at start (same for every VM regardless of VM). Link to comment
pyrater Posted February 3, 2014 Share Posted February 3, 2014 I am going to need a bigger image or a symlink solution to my cache drive; my plex folder alone is over 40 gigs Link to comment
ironicbadger Posted February 3, 2014 Author Share Posted February 3, 2014 I am going to need a bigger image or a symlink solution to my cache drive; my plex folder alone is over 40 gigs Try out the symlink solution I just showed you. Plex and other apps install to /opt on Arch. Link to comment
Recommended Posts