Hi All,
Firstly, thanks to these forums and the Proxmox team, the software is awesome and these forums have helped immensely with my setup.
I have 2 Dell PE C1100 servers running Proxmox 3.0 connected to a Dell MD3200i SAN.
I have successfully (after a lot of help from these forums!!) set up iSCSI connection to my SAN on the LUN and have set up a Server 2012 instance on ProxNode1, with the image stored on the SAN, however this is in the RAW Format (seemed to default to this) and I want to convert to qcow2 for snapshotting etc..
I know I can run
but I just can't seem to see where inside the Linux OS this place actually resides.
I decided to run mount:
If i do parted -l i get:
There seems to be a lot of disks here, however I set up multi-path and this is used as my targets for SAN stored OpenVZ containers (along with backups/iso's). There are two LUNs set up for each node to use (at 500GB) and these are mounted on startup in /etc/rc.local (as i mounted these in fstab but the server would not boot because it couldn't see them yet).
Anyway, briefly, where would my 3TB iSCSI Drive be mounted so I can convert my images?
Also, just on a side note, I cloned one of my VM's (50GB), which the image resides on my 3TB LUN on the SAN, but cloning this seems to take hours, which doesn't seem quite right to me.
Here's my /etc/network/interfaces conf:
I have put each "iSCSI traffic NIC" into the correct VLAN in access mode, leaving my "Prox" NICs for normal traffic in Trunk, with various VLANs tagged. Also have forced 1000Mb negotiation on my switch.. the "Prox" NICs are on Auto-Negotiate.
Sorry this may be a bit long winded.. if I have missed out any info anyone needs please let me know!
Thanks in advance!
Firstly, thanks to these forums and the Proxmox team, the software is awesome and these forums have helped immensely with my setup.
I have 2 Dell PE C1100 servers running Proxmox 3.0 connected to a Dell MD3200i SAN.
I have successfully (after a lot of help from these forums!!) set up iSCSI connection to my SAN on the LUN and have set up a Server 2012 instance on ProxNode1, with the image stored on the SAN, however this is in the RAW Format (seemed to default to this) and I want to convert to qcow2 for snapshotting etc..
I know I can run
Code:
[FONT=arial][COLOR=#FCFFBA]qemu-img convert [/COLOR][COLOR=#660033]-p[/COLOR][COLOR=#FCFFBA] [/COLOR][COLOR=#660033]-O[/COLOR][COLOR=#FCFFBA] qcow2 [/COLOR][COLOR=#CCCCCC][B]/[/B][/COLOR][COLOR=#FCFFBA]var[/COLOR][COLOR=#CCCCCC][B]/[/B][/COLOR][COLOR=#FCFFBA]lib[/COLOR][COLOR=#CCCCCC][B]/[/B][/COLOR][COLOR=#FCFFBA]vz[/COLOR][COLOR=#CCCCCC][B]/[/B][/COLOR][COLOR=#FCFFBA]images[/COLOR][COLOR=#CCCCCC][B]/[/B][/COLOR][COLOR=#DDDDDD]200[/COLOR][COLOR=#CCCCCC][B]/[/B][/COLOR][COLOR=#FCFFBA]vm-[/COLOR][COLOR=#DDDDDD]200[/COLOR][COLOR=#FCFFBA]-disk-[/COLOR][COLOR=#DDDDDD]1[/COLOR][COLOR=#FCFFBA].raw [/COLOR][COLOR=#CCCCCC][B]/[/B][/COLOR][COLOR=#FCFFBA]var[/COLOR][COLOR=#CCCCCC][B]/[/B][/COLOR][COLOR=#FCFFBA]lib[/COLOR][COLOR=#CCCCCC][B]/[/B][/COLOR][COLOR=#FCFFBA]vz[/COLOR][COLOR=#CCCCCC][B]/[/B][/COLOR][COLOR=#FCFFBA]images[/COLOR][COLOR=#CCCCCC][B]/[/B][/COLOR][COLOR=#DDDDDD]200[/COLOR][COLOR=#CCCCCC][B]/[/B][/COLOR][COLOR=#FCFFBA]vm-[/COLOR][COLOR=#DDDDDD]200[/COLOR][COLOR=#FCFFBA]-disk-[/COLOR][COLOR=#DDDDDD]1[/COLOR][COLOR=#FCFFBA].qcow2[/COLOR][/FONT]
but I just can't seem to see where inside the Linux OS this place actually resides.
I decided to run mount:
Code:
[FONT=Menlo]root@proxnode1:~# mount[/FONT][FONT=Menlo]sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)[/FONT]
[FONT=Menlo]proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)[/FONT]
[FONT=Menlo]udev on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=9275386,mode=755)[/FONT]
[FONT=Menlo]devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)[/FONT]
[FONT=Menlo]tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=7422184k,mode=755)[/FONT]
[FONT=Menlo]/dev/mapper/pve-root on / type ext3 (rw,relatime,errors=remount-ro,user_xattr,acl,barrier=0,data=ordered)[/FONT]
[FONT=Menlo]tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)[/FONT]
[FONT=Menlo]tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=14844360k)[/FONT]
[FONT=Menlo]/dev/mapper/pve-data on /var/lib/vz type ext3 (rw,relatime,errors=continue,user_xattr,acl,barrier=0,data=ordered)[/FONT]
[FONT=Menlo]/dev/sda2 on /boot type ext3 (rw,relatime,errors=continue,user_xattr,acl,barrier=0,data=ordered)[/FONT]
[FONT=Menlo]rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime)[/FONT]
[FONT=Menlo]fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)[/FONT]
[FONT=Menlo]beancounter on /proc/vz/beancounter type cgroup (rw,relatime,blkio,name=beancounter)[/FONT]
[FONT=Menlo]container on /proc/vz/container type cgroup (rw,relatime,freezer,devices,name=container)[/FONT]
[FONT=Menlo]fairsched on /proc/vz/fairsched type cgroup (rw,relatime,cpuacct,cpu,cpuset,name=fairsched)[/FONT]
[FONT=Menlo]/dev/mapper/mpathb on /mnt/ProxCT01 type ext3 (rw,relatime,errors=continue,user_xattr,acl,barrier=0,data=ordered)[/FONT]
[FONT=Menlo]/dev/fuse on /etc/pve type fuse (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other)[/FONT]
[FONT=Menlo]none on /sys/kernel/config type configfs (rw,relatime)[/FONT]
If i do parted -l i get:
Code:
[FONT=Menlo]root@proxnode1:~# parted -l[/FONT][FONT=Menlo]Model: DELL PERC H700 (scsi)[/FONT]
[FONT=Menlo]Disk /dev/sda: 2999GB[/FONT]
[FONT=Menlo]Sector size (logical/physical): 512B/512B[/FONT]
[FONT=Menlo]Partition Table: gpt[/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]Number Start End Size File system Name Flags[/FONT]
[FONT=Menlo] 1 1049kB 2097kB 1049kB primary bios_grub[/FONT]
[FONT=Menlo] 2 2097kB 537MB 535MB ext3 primary boot[/FONT]
[FONT=Menlo] 3 537MB 2999GB 2998GB primary lvm[/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]Error: /dev/sdb: unrecognised disk label [/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]Error: /dev/sdc: unrecognised disk label [/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]Model: DELL MD32xxi (scsi)[/FONT]
[FONT=Menlo]Disk /dev/sdd: 537GB[/FONT]
[FONT=Menlo]Sector size (logical/physical): 512B/512B[/FONT]
[FONT=Menlo]Partition Table: msdos[/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]Number Start End Size Type File system Flags[/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]Error: /dev/sde: unrecognised disk label [/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]Model: DELL MD32xxi (scsi)[/FONT]
[FONT=Menlo]Disk /dev/sdf: 537GB[/FONT]
[FONT=Menlo]Sector size (logical/physical): 512B/512B[/FONT]
[FONT=Menlo]Partition Table: msdos[/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]Number Start End Size Type File system Flags[/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]Model: Linux device-mapper (linear) (dm)[/FONT]
[FONT=Menlo]Disk /dev/mapper/proxsanimages-vm--101--disk--1: 53.7GB[/FONT]
[FONT=Menlo]Sector size (logical/physical): 512B/512B[/FONT]
[FONT=Menlo]Partition Table: msdos[/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]Number Start End Size Type File system Flags[/FONT]
[FONT=Menlo] 1 1049kB 368MB 367MB primary ntfs boot[/FONT]
[FONT=Menlo] 2 368MB 53.7GB 53.3GB primary ntfs[/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]Model: Linux device-mapper (multipath) (dm)[/FONT]
[FONT=Menlo]Disk /dev/mapper/mpathd: 537GB[/FONT]
[FONT=Menlo]Sector size (logical/physical): 512B/512B[/FONT]
[FONT=Menlo]Partition Table: msdos[/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]Number Start End Size Type File system Flags[/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]Error: /dev/mapper/mpathc: unrecognised disk label [/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]Model: Linux device-mapper (multipath) (dm)[/FONT]
[FONT=Menlo]Disk /dev/mapper/mpathb: 537GB[/FONT]
[FONT=Menlo]Sector size (logical/physical): 512B/512B[/FONT]
[FONT=Menlo]Partition Table: msdos[/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]Number Start End Size Type File system Flags[/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]Model: Linux device-mapper (linear) (dm)[/FONT]
[FONT=Menlo]Disk /dev/mapper/pve-data: 2803GB[/FONT]
[FONT=Menlo]Sector size (logical/physical): 512B/512B[/FONT]
[FONT=Menlo]Partition Table: loop[/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]Number Start End Size File system Flags[/FONT]
[FONT=Menlo] 1 0.00B 2803GB 2803GB ext3[/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]Model: Linux device-mapper (linear) (dm)[/FONT]
[FONT=Menlo]Disk /dev/mapper/pve-swap: 75.2GB[/FONT]
[FONT=Menlo]Sector size (logical/physical): 512B/512B[/FONT]
[FONT=Menlo]Partition Table: loop[/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]Number Start End Size File system Flags[/FONT]
[FONT=Menlo] 1 0.00B 75.2GB 75.2GB linux-swap(v1)[/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]Model: Linux device-mapper (linear) (dm)[/FONT]
[FONT=Menlo]Disk /dev/mapper/pve-root: 103GB[/FONT]
[FONT=Menlo]Sector size (logical/physical): 512B/512B[/FONT]
[FONT=Menlo]Partition Table: loop[/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]Number Start End Size File system Flags[/FONT]
[FONT=Menlo] 1 0.00B 103GB 103GB ext3[/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]Error: /dev/sdg: unrecognised disk label [/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]Error: /dev/sdh: unrecognised disk label [/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]Error: /dev/sdi: unrecognised disk label [/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]Model: DELL MD32xxi (scsi)[/FONT]
[FONT=Menlo]Disk /dev/sdj: 537GB[/FONT]
[FONT=Menlo]Sector size (logical/physical): 512B/512B[/FONT]
[FONT=Menlo]Partition Table: msdos[/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]Number Start End Size Type File system Flags[/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]Error: /dev/sdk: unrecognised disk label [/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]Error: /dev/sdl: unrecognised disk label [/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]Model: DELL MD32xxi (scsi)[/FONT]
[FONT=Menlo]Disk /dev/sdo: 537GB[/FONT]
[FONT=Menlo]Sector size (logical/physical): 512B/512B[/FONT]
[FONT=Menlo]Partition Table: msdos[/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]Number Start End Size Type File system Flags[/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]Error: /dev/sdn: unrecognised disk label [/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]Error: /dev/sdt: unrecognised disk label [/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]Model: DELL MD32xxi (scsi)[/FONT]
[FONT=Menlo]Disk /dev/sdr: 537GB[/FONT]
[FONT=Menlo]Sector size (logical/physical): 512B/512B[/FONT]
[FONT=Menlo]Partition Table: msdos[/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]Number Start End Size Type File system Flags[/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]Error: /dev/sdm: unrecognised disk label [/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]Error: /dev/sdp: unrecognised disk label [/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]Model: DELL MD32xxi (scsi)[/FONT]
[FONT=Menlo]Disk /dev/sdu: 537GB[/FONT]
[FONT=Menlo]Sector size (logical/physical): 512B/512B[/FONT]
[FONT=Menlo]Partition Table: msdos[/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]Number Start End Size Type File system Flags[/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]Error: /dev/sdv: unrecognised disk label [/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]Error: /dev/sdw: unrecognised disk label [/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]Error: /dev/sdq: unrecognised disk label [/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]Model: DELL MD32xxi (scsi)[/FONT]
[FONT=Menlo]Disk /dev/sds: 537GB[/FONT]
[FONT=Menlo]Sector size (logical/physical): 512B/512B[/FONT]
[FONT=Menlo]Partition Table: msdos[/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]Number Start End Size Type File system Flags[/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]Error: /dev/sdx: unrecognised disk label [/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]Model: DELL MD32xxi (scsi)[/FONT]
[FONT=Menlo]Disk /dev/sdy: 537GB[/FONT]
[FONT=Menlo]Sector size (logical/physical): 512B/512B[/FONT]
[FONT=Menlo]Partition Table: msdos[/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]Number Start End Size Type File system Flags[/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]root@proxnode1:~# [/FONT]
There seems to be a lot of disks here, however I set up multi-path and this is used as my targets for SAN stored OpenVZ containers (along with backups/iso's). There are two LUNs set up for each node to use (at 500GB) and these are mounted on startup in /etc/rc.local (as i mounted these in fstab but the server would not boot because it couldn't see them yet).
Anyway, briefly, where would my 3TB iSCSI Drive be mounted so I can convert my images?
Also, just on a side note, I cloned one of my VM's (50GB), which the image resides on my 3TB LUN on the SAN, but cloning this seems to take hours, which doesn't seem quite right to me.
Here's my /etc/network/interfaces conf:
Code:
[FONT=Menlo]root@proxnode1:~# cat /etc/network/interfaces [/FONT][FONT=Menlo]# network interface settings[/FONT]
[FONT=Menlo]auto lo[/FONT]
[FONT=Menlo]iface lo inet loopback[/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]auto eth0[/FONT]
[FONT=Menlo]iface eth0 inet manual[/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]auto vmbr0[/FONT]
[FONT=Menlo]iface vmbr0 inet static[/FONT]
[FONT=Menlo] address 10.10.1.51[/FONT]
[FONT=Menlo] netmask 255.255.255.0[/FONT]
[FONT=Menlo] gateway 10.10.1.1[/FONT]
[FONT=Menlo] bridge_ports eth0[/FONT]
[FONT=Menlo] bridge_stp off[/FONT]
[FONT=Menlo] bridge_fd 0[/FONT]
[FONT=Menlo]
[/FONT]
[FONT=Menlo]auto eth1[/FONT]
[FONT=Menlo]iface eth1 inet static[/FONT]
[FONT=Menlo] address 10.10.142.111[/FONT]
[FONT=Menlo] netmask 255.255.255.0[/FONT]
[FONT=Menlo] gateway 10.10.1.1[/FONT]
[FONT=Menlo] mtu 9000[/FONT]
[FONT=Menlo]root@proxnode1:~#[/FONT]
I have put each "iSCSI traffic NIC" into the correct VLAN in access mode, leaving my "Prox" NICs for normal traffic in Trunk, with various VLANs tagged. Also have forced 1000Mb negotiation on my switch.. the "Prox" NICs are on Auto-Negotiate.
Sorry this may be a bit long winded.. if I have missed out any info anyone needs please let me know!
Thanks in advance!