search for: disk_siz

Displaying 20 results from an estimated 73 matches for "disk_siz".

Did you mean: disk_size
2019 Aug 14
0
[PATCH libnbd 3/3] python: Add test for doing asynch copy from one handle to another.
...the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +import select +import nbd + +disk_size = 512 * 1024 * 1024 +bs = 65536 +max_reads_in_flight = 16 +bytes_read = 0 +bytes_written = 0 + +def asynch_copy (src, dst): + size = src.get_size () + + # This is our reading position in the source. + soff = 0 + + # This callback is called when any pread from the source + # has comp...
2012 Oct 04
8
[PATCH][BTRFS-PROGS][V3] btrfs filesystem df
...d an estimation of the free space of the filesystem. [...] $ ./btrfs filesystem df --help usage: btrfs filesystem disk-usage [-k] <path> [<path>..] Show space usage information for a mount point(s). -k Set KB (1024 bytes) as unit $ ./btrfs filesystem df / Path: / Summary: Disk_size: 72.57GB Disk_allocated: 25.10GB Disk_unallocated: 47.48GB Logical_size: 23.06GB Used: 11.01GB Free_(Estimated): 55.66GB (Max: 59.52GB, Min: 35.78GB) Data_to_disk_ratio: 92 % Details: Chunk_t...
2007 Dec 26
7
Thank you puppet!!
...ring if there''s a way to tie it all together To create a virtual machine for our company''s QA environment, I''m currently doing 3 things: #create a vm node vmsvr2 inherits default { include vmserver vmserver::vm { "rhel4-agt64-1": disk_size => "8Gb", ensure => running, mac_ext => "06:1c", } ... } #create a cobbler system definition node cobbler inherits default { include cobbler ... cobbler::system { "rh4-agt64-1": mac => &q...
2018 Feb 22
0
[PATCH 5/5] v2v: Add -o rhv-upload output mode.
...insecure = True, +) +system_service = connection.system_service() +" (py_quote output_password) + (py_quote conn.conn_url) + (py_quote conn.conn_username) + (py_bool conn.conn_debug) + +let python_create_one_disk disk_name disk_format + output_alloc output_storage disk_size = + sprintf " +disks_service = system_service.disks_service() +disk = disks_service.add( + disk = types.Disk( + name = %s, + format = %s, + sparse = %s, + provisioned_size = %Ld, + storage_domains = [types.StorageDomain(name = %s)], + ) +) +disk_id =...
2019 Aug 11
4
[PATCH libnbd v2 0/3] python: Add test for doing asynch copy.
v1 was here: https://www.redhat.com/archives/libguestfs/2019-August/msg00103.html In v2 I've made several changes: - Fix Python callbacks so if they don't return something which is int-like, we assume they mean to return 0. - Add nbd.Buffer free() method. Read commit message in patch 2 to see what this is about. - Fixed the asynch copy test to deal with the unbelievably
2018 Feb 27
0
[PATCH v2 3/3] v2v: Add -o rhv-upload output mode.
...printf "name=%s" output_storage in + sprintf " +sds_service = system_service.storage_domains_service() +sd = sds_service.list(search=%s)[0] +print(sd.id) +" (py_quote search_term) + +let python_create_one_disk disk_name disk_format + output_alloc sd_id disk_size = + sprintf " +disks_service = system_service.disks_service() +disk = disks_service.add( + disk = types.Disk( + name = %s, + format = %s, + sparse = %s, + provisioned_size = %Ld, + storage_domains = [types.StorageDomain(id = %s)], + ) +) +disk_id = di...
2018 Feb 27
5
[PATCH v2 0/3] v2v: Add -o rhv-upload output mode.
This patch set is still for discussion only. See 3/3 for the current list of problems. However this will upload an image to an oVirt or RHV server, although you must have absolutely the latest snapshot version of 4.2 for it to work. Rich.
2018 Feb 22
2
Re: [PATCH 5/5] v2v: Add -o rhv-upload output mode.
...e = connection.system_service() > +" (py_quote output_password) > + (py_quote conn.conn_url) > + (py_quote conn.conn_username) > + (py_bool conn.conn_debug) > + > +let python_create_one_disk disk_name disk_format > + output_alloc output_storage disk_size = > + sprintf " > +disks_service = system_service.disks_service() > +disk = disks_service.add( > + disk = types.Disk( > + name = %s, > + format = %s, > + sparse = %s, > + provisioned_size = %Ld, > + storage_domains = [types.Sto...
2019 Aug 14
5
[PATCH libnbd 0/3] Use free callback to hold ref to AIO buffer.
Basically the same as this patch series, but for Python: https://www.redhat.com/archives/libguestfs/2019-August/msg00235.html plus adding the 590 asynch test at the end. Rich.
2024 Sep 01
1
geo-rep will not initialize
...ction do_verify() { ver=$(gluster --version | head -1 | cut -f2 -d " "); echo $ver; }; source /etc/profile && do_verify;'\''' + ver=11.1 + '[' -z 11.1 ']' + ERRORS=0 ++ primary_stats j ++ PRIMARYVOL=j ++ local inet6= ++ local d ++ local i ++ local disk_size ++ local used_size ++ local ver ++ local m_status +++ mktemp -d -t gverify.sh.XXXXXX ++ d=/tmp/gverify.sh.7QpBxa ++ '[' '' = inet6 ']' ++ glusterfs -s localhost '--xlator-option=*dht.lookup-unhashed=off' --volfile-id j -l /var/log/glusterfs/geo-replication/gverify...
2018 Feb 22
11
[PATCH 0/5] v2v: Add -o rhv-upload output mode.
The first four patches are straightforward. The final patch adds the -o rhv-upload output mode. It is still spooling into a temporary file because I've had some trouble getting streaming conversions working. There are other problems as outlined in the commit message, so this patch is not ready for upstream but is good for discussion. Also I hit this, which I'm assuming for now will be
2009 Nov 04
1
[PATCH node] add ability to select separate disks for Root and HostVG in o-c-storage
...ons(-) diff --git a/scripts/ovirt-config-storage b/scripts/ovirt-config-storage index 77e00d0..57aaebd 100755 --- a/scripts/ovirt-config-storage +++ b/scripts/ovirt-config-storage @@ -85,30 +85,43 @@ check_partition_sizes() fi printf "\n" - get_drive_size $DRIVE SPACE - disk_size=$SPACE - need_size=$(echo "scale=0;" \ - "$SWAP_SIZE + $ROOT_SIZE * 2" \ - "+ $CONFIG_SIZE + $LOGGING_SIZE + $min_data_size" | bc -l) - - if [ $need_size -gt $disk_size ]; then - local gap_size=$(echo "scale=0;...
2009 May 20
2
[PATCH node] Adds support for a core dump partition to the node.
...oredump_size=10240 # -1 indicates data partition should use remaining disk default_data_size=-1 @@ -33,6 +34,7 @@ boot_min_size=50 root_min_size=256 config_min_size=5 logging_min_size=5 +coredump_min_size=1024 data_min_size=5 swap_min_size=5 @@ -73,7 +75,7 @@ check_partition_sizes() disk_size=$SPACE need_size=$(echo "scale=0;" \ "$BOOT_SIZE + $SWAP_SIZE + $ROOT_SIZE * 2" \ - "+ $CONFIG_SIZE + $LOGGING_SIZE + $min_data_size" | bc -l) + "+ $CONFIG_SIZE + $LOGGING_SIZE + $COREDUMP_SIZE +...
2019 Nov 26
0
[PATCH v2 3/3] rhv-upload: Support qcow2 disk format
...#39;disk_name'], description = "Uploaded by virt-v2v", format = disk_format, + # XXX For qcow2 disk on block storage, we should use the estimated + # size, based on qemu-img measure of the overlay. initial_size = params['disk_size'], provisioned_size = params['disk_size'], # XXX Ignores params['output_sparse']. @@ -489,11 +492,16 @@ def create_transfer(connection, disk, host): system_service = connection.system_service() transfers_service = system_service.image_transfe...
2019 Nov 26
6
[PATCH v2 0/3] rhv-upload: Support import to qcow2 disk
Add support for qcow2 disk format, enabled by imageio NBD backend in RHV 4.3. To use this feature manually, you can run virt-v2v with "-of qcow2". Here is example run: Source disk: $ qemu-img info /var/tmp/fedora-30.img image: /var/tmp/fedora-30.img file format: raw virtual size: 6 GiB (6442450944 bytes) disk size: 1.15 GiB virt-v2v: $ ./run virt-v2v \ -v \ -i disk
2019 Nov 17
2
Re: [PATCH 06/18] rhv-upload: Fix cleanup after errors
...gt; + # transfer is canceled, or if finalizing the transfer fails. > + > debug("transfer.id = %r" % transfer.id) > > # Get a reference to the created transfer service. > @@ -309,15 +313,12 @@ def can_flush(h): > def get_size(h): > return params['disk_size'] > > -# Any unexpected HTTP response status from the server will end up > -# calling this function which logs the full error, pauses the > -# transfer, sets the failed state, and raises a RuntimeError > -# exception. > +# Any unexpected HTTP response status from the server w...
2018 Mar 01
7
[PATCH v3 0/6] v2v: Add -o rhv-upload output mode.
v2 -> v3: - Lots of code cleanups. - Documentation. However this is still spooling the file into a temporary before the upload. It turns out that fixing this is going to require a small change to qemu. Rich.
2019 Aug 10
7
[PATCH libnbd 0/5] WIP: python: Add test for doing asynch copy.
This doesn't yet work. However it does make me more convinced than ever that we really need to sort out persistent buffer lifetimes in the library (similar to what we did for closures). Rich.
2018 Mar 24
4
Re: [PATCH v7 6/6] v2v: Add -o rhv-upload output mode (RHBZ#1557273).
...types.DiskFormat.COW > + disk = disks_service.add( > + disk = types.Disk( > + name = params['disk_name'], > + description = "Uploaded by virt-v2v", > + format = disk_format, > + provisioned_size = params['disk_size'], > This must be the virtual size. You don't specify initial_size - in this case you get 1G, and most images will fail to upload. > + sparse = params['output_sparse'], > The user cannot configure that. This must be based on the image format. The current co...
2016 May 04
2
Re: [libvirt] Creating a storage volume for raw format file
...ot;"" stat = os.stat(src) qmeu_info = images.qemu_img_info(src) return xml.format(**{'name': name, 'capacity': qmeu_info.virtual_size, 'allocation': qmeu_info.disk_size, 'src_path': src, 'format': qmeu_info.file_format, 'mode': oct(stat.st_mode)[-3:], 'uid': stat.st_uid,...