[PVE-User] Point my backup to ISCSI Volume (to Emmanuel Kasper)

Leonardo Dourado leonardo.dourado at itrace.com.br
Mon Jan 30 18:06:19 CET 2017


Hi Emannuel!

What I did (and the only way that worked ) is:

I pointed my iscsi on PVE (Web Interface);
Partitioned, Formated (ext4), Created a directory and mounted on /mnt/storage;
Added the line "sleep 60 ; mount /dev/sdb1 /mnt/storage";

That was the only way it worked...

I'll try the "step B" as mentioned when I have more time!!!

Much apreciatted,
Leonardo D.

________________________________________
De: pve-user [pve-user-bounces at pve.proxmox.com] em nome de pve-user-request at pve.proxmox.com [pve-user-request at pve.proxmox.com]
Enviado: segunda-feira, 30 de janeiro de 2017 9:00
Para: pve-user at pve.proxmox.com
Assunto: pve-user Digest, Vol 106, Issue 27

Send pve-user mailing list submissions to
        pve-user at pve.proxmox.com

To subscribe or unsubscribe via the World Wide Web, visit
        http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
or, via email, send a message with subject or body 'help' to
        pve-user-request at pve.proxmox.com

You can reach the person managing the list at
        pve-user-owner at pve.proxmox.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of pve-user digest..."


Today's Topics:

   1. Point my backup to ISCSI Volume (Leonardo Dourado)
   2. Re: software RAID in 4.2 (Miguel González)
   3. Re: Point my backup to ISCSI Volume (Emmanuel Kasper)


----------------------------------------------------------------------

Message: 1
Date: Sun, 29 Jan 2017 19:45:29 +0000
From: Leonardo Dourado <leonardo.dourado at itrace.com.br>
To: "pve-user at pve.proxmox.com" <pve-user at pve.proxmox.com>
Subject: [PVE-User] Point my backup to ISCSI Volume
Message-ID:
        <FA7F37342AE7FE4E97CF874BDE45931C0134344149 at MBXTB921G.vcaremail.local>
Content-Type: text/plain; charset="us-ascii"

Hi gents!

I have configured my NAS and created a LUN to point my backups, I added it on PVE (it recognized correctly)... Occurs that when I go to Backup\Storage (on web interface) and try to point to the LUN (named as ITRCNAS1) unit it does not appear...

If I point to the mounted directory on console it works: /mnt/storage.

Is there a way to use the LUN directly? I'm not sure if I can mount a LUN volume on fstab...

LUN is already partitioned and formatted as ext4, it's my /dev/sdb1 device.

Note:
On Web Interface I see the format of that unit is still RAW.
Any help is much appreciated,
Leonardo D.


------------------------------

Message: 2
Date: Mon, 30 Jan 2017 10:15:32 +0100
From: Miguel González <miguel_3_gonzalez at yahoo.es>
To: PVE User List <pve-user at pve.proxmox.com>
Subject: Re: [PVE-User] software RAID in 4.2
Message-ID: <37a565be-1b49-b791-6045-247a073d190b at yahoo.es>
Content-Type: text/plain; charset=utf-8

On 01/24/17 10:22 AM, Eneko Lacunza wrote:
> Hi Miguel,
>
> El 24/01/17 a las 10:11, Miguel González escribió:
>> Reads and in both, Proxmox and therefore in guest VMs.
>>
>> As you can see in my messages writes seem to be more or less fine around
>> 140 MB/s in Proxmox while reads are around 40 MB/s.
>>
>> At this point I don´t know if there is something related to hardware or
>> software, I have raised a ticket with support.
>
> Ok, I don't think pveperf's "fsyncs/second" is good, it's way too low.
>
> Also, 42MB/s isn't very good from VM, but maybe qcow2 is expanding the
> file there.
>
> Re-reading your first post I think you have a hw/cabling issue. Does sdb
> give same hdparm results as sda?

Ok, suggested by support I took down all VMs and run the tests without
nothing running. I still find fsyncs low from time to time, which I
don´t understand, varying from 2-40 is a bit too much variation from my
point of view.


root at myserver:~# pveperf /vz/
CPU BOGOMIPS: 42667.60
REGEX/SECOND: 1099581
HD SIZE: 1809.50 GB (/dev/mapper/pve-data)
BUFFERED READS: 138.73 MB/sec
AVERAGE SEEK TIME: 18.94 ms
FSYNCS/SECOND: 1.97
DNS EXT: 17.82 ms
DNS INT: 13.27 ms (myserver)
root at myserver:~# pveperf /vz/
CPU BOGOMIPS: 42667.60
REGEX/SECOND: 1162253
HD SIZE: 1809.50 GB (/dev/mapper/pve-data)
BUFFERED READS: 123.24 MB/sec
AVERAGE SEEK TIME: 13.28 ms
FSYNCS/SECOND: 39.64
DNS EXT: 11.67 ms
DNS INT: 19.81 ms (myserver)
root at myserver:~# pveperf /vz/
CPU BOGOMIPS: 42667.60
REGEX/SECOND: 1123387
HD SIZE: 1809.50 GB (/dev/mapper/pve-data)
BUFFERED READS: 121.61 MB/sec
AVERAGE SEEK TIME: 13.83 ms
FSYNCS/SECOND: 22.67
DNS EXT: 14.01 ms
DNS INT: 13.90 ms (myserver)
root at myserver:~# pveperf /vz/
CPU BOGOMIPS: 42667.60
REGEX/SECOND: 1138502
HD SIZE: 1809.50 GB (/dev/mapper/pve-data)
BUFFERED READS: 100.28 MB/sec
AVERAGE SEEK TIME: 13.74 ms
FSYNCS/SECOND: 41.03
DNS EXT: 13.72 ms
DNS INT: 12.70 ms (myserver)
root at myserver:~# pveperf /vz/
CPU BOGOMIPS: 42667.60
REGEX/SECOND: 1102421
HD SIZE: 1809.50 GB (/dev/mapper/pve-data)
BUFFERED READS: 134.41 MB/sec
AVERAGE SEEK TIME: 12.74 ms
FSYNCS/SECOND: 30.34
DNS EXT: 11.25 ms
DNS INT: 14.16 ms (myserver)
root at myserver:~# hdparm -tT /dev/sda

/dev/sda:
Timing cached reads: 16160 MB in 2.00 seconds = 8087.23 MB/sec
Timing buffered disk reads: 434 MB in 3.00 seconds = 144.60 MB/sec
root at myserver:~# hdparm -tT /dev/sdb

/dev/sdb:
Timing cached reads: 16492 MB in 2.00 seconds = 8253.77 MB/sec
Timing buffered disk reads: 456 MB in 3.01 seconds = 151.44 MB/sec



------------------------------

Message: 3
Date: Mon, 30 Jan 2017 10:44:38 +0100
From: Emmanuel Kasper <e.kasper at proxmox.com>
To: PVE User List <pve-user at pve.proxmox.com>
Subject: Re: [PVE-User] Point my backup to ISCSI Volume
Message-ID: <b5fde694-912b-8036-2db4-d547e693513e at proxmox.com>
Content-Type: text/plain; charset=utf-8



On 01/29/2017 08:45 PM, Leonardo Dourado wrote:
> Hi gents!
>
> I have configured my NAS and created a LUN to point my backups, I added it on PVE (it recognized correctly)... Occurs that when I go to Backup\Storage (on web interface) and try to point to the LUN (named as ITRCNAS1) unit it does not appear...
>
> If I point to the mounted directory on console it works: /mnt/storage.
>
> Is there a way to use the LUN directly? I'm not sure if I can mount a LUN volume on fstab...
>
> LUN is already partitioned and formatted as ext4, it's my /dev/sdb1 device.
>

You cannot use your LUN directly as it's a block device, and you need a
file system to put the backupfiles.


So you have two choice:

A) * create a fstab entry for /dev/sdb1 pointing to /mnt/my_mount, mount it
  * add a directory mount point in PVE for /my_mount ( in gui, add
storage -> directory)

B) Create an NFS export from your SAN to PVE. As NFS is file based, you
will be abled to use the storage directly to put your backups.

I advise you B. Iscsi is fine, but to store backup files is not its
optimum use case here.



------------------------------

Subject: Digest Footer

_______________________________________________
pve-user mailing list
pve-user at pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user


------------------------------

End of pve-user Digest, Vol 106, Issue 27
*****************************************



More information about the pve-user mailing list