Displaying 20 results from an estimated 3000 matches similar to: "How to find out data alignment for LVM thin volume brick"
2023 Jun 07
1
How to find out data alignment for LVM thin volume brick
Have you checked this page: https://access.redhat.com/documentation/en-us/red_hat_gluster_storage/3.5/html/administration_guide/brick_configuration ?
The alignment depends on the HW raid stripe unit size.
Best Regards,Strahil Nikolov?
On Tue, Jun 6, 2023 at 2:35, mabi<mabi at protonmail.ch> wrote: Hello,
I am preparing a brick as LVM thin volume for a test slave node using this
2023 Jun 07
1
How to find out data alignment for LVM thin volume brick
Dear Strahil,
Thank you very much for pointing me to the RedHat documentation. I wasn't aware of it and it is much more detailed. I will have to read it carefully.
Now as I have a single disk (no RAID) based on that documentation I understand that I should use a data alignment value of 256kB.
Best regards,
Mabi
------- Original Message -------
On Wednesday, June 7th, 2023 at 6:56 AM,
2013 Dec 16
2
LVM recovery after pvcreate
Hi all,
I had centos 5.9 installed with one of its volumes (non-root) on LVM:
...
/dev/vgapps/lvapps /opt/apps ext3 defaults 1 2
...
Then installed centos 6.4 on this servers but without exporting this volume (I wanted to reuse it).
After that instead importing it I did:
# pvcreate /dev/sddlmac
# vgcreate vgapps /dev/sddlmac
And then realised that I should have
2009 Oct 06
1
Disc layout advice
I have a DAS w/ 6 750Gb and 6 1Tb discs I am setting up using Linux raid.
The controller is a POS so each disc is exported as an R0 single volume.
I used a parted and fdisk script to create 1 max size partition labeled as
Linux Raid Autodetect and created the first r6 array w/ mdadm. I normally
create and mark partitions as raid or lvm so people know what's going on.
The first md array is
2012 May 23
1
pvcreate limitations on big disks?
OK folks, I'm back at it again. Instead of taking my J4400 ( 24 x 1T
disks) and making a big RAID60 out of it which Linux cannot make a
filesystem on, I'm created 4 x RAID6 which each are 3.64T
I then do :
sfdisk /dev/sd{b,c,d,e} <<EOF
,,8e
EOF
to make a big LVM partition on each one.
But then when I do :
pvcreate /dev/sd{b,c,d,e}1
and then
pvdisplay
It shows each one as
2012 Aug 11
8
Pass array to a define
How can I pass an array to a define? It''s not documented in the puppet
language guide.
I''ve got:
define lvm::create_vg ( $pvdisks ) {
exec {
''pvcreate'':
command => "/sbin/pvcreate -yf $pvdisks",
unless => "/sbin/pvdisplay $pvdisks",
...
}
}
class someclass {
lvm::create_vg {
2018 Jan 12
5
[PATCH 1/1] appliance: init: Avoid running degraded md devices
'--no-degraded' flag in the first mdadm call inhibits the startup of array unless all expected drives are present.
This will prevent starting arrays in degraded state.
Second mdadm call (after LVM is scanned) will scan unused yet devices and make an attempt to run all found arrays even they are in degraded state.
Two new tests are added.
This fixes rhbz1527852.
Here is boot-benchmark
2011 Aug 31
2
How to expand LVM without create new drive?
I now how to expand a LVM by creating a new drive as described here:
http://lists.centos.org/pipermail/centos/2007-February/032664.html, the steps
are:
# pvcreate /dev/sda3
# vgextend VolGroup00 /dev/sda3
Now, I want to know how to expand a LVM without create /dev/sda3?
Suppose I have 2 GB free (unpartitioned) and LVM use /dev/sda2 (8 GB). How to
make /dev/sda2 become 10 GB? Then resize LVM
2014 Aug 02
3
libvirt and lvm thin pool
Hi all. I'm using libvirt 1.2.6
I want to use lvm storage for my virtual machines.
But i want to use new lvm2 feature - thin pool. How can i do that in
libvirt? If libvirt can't create it via pool xml, does (and how) to
use this setup under libvirt?
--
Vasiliy Tolstov,
e-mail: v.tolstov@selfip.ru
jabber: vase@selfip.ru
2017 Aug 02
0
Quotas not working after adding arbiter brick to replica 2
Hi Sanoj,
I copied over the quota.conf file from the affected volume (node 1) and opened it up with a hex editor but can not recognize anything really except for the first few header/version bytes. I have attached it within this mail (compressed with bzip2) as requested.
Should I recreate them manually? there where around 10 of them. Or is there a hope of recovering these quotas?
Regards,
M.
>
2017 Aug 02
2
Quotas not working after adding arbiter brick to replica 2
Mabi,
We have fixed a couple of issues in the quota list path.
Could you also please attach the quota.conf file (/var/lib/glusterd/vols/
patchy/quota.conf)
(Ideally, the first few bytes would be ascii characters followed by 17
bytes per directory on which quota limit is set)
Regards,
Sanoj
On Tue, Aug 1, 2017 at 1:36 PM, mabi <mabi at protonmail.ch> wrote:
> I also just noticed quite
2017 Aug 04
1
Quotas not working after adding arbiter brick to replica 2
Thank you very much Sanoj, I ran your script once and it worked. I now have quotas again...
Question: do you know in which release this issue will be fixed?
> -------- Original Message --------
> Subject: Re: [Gluster-users] Quotas not working after adding arbiter brick to replica 2
> Local Time: August 4, 2017 3:28 PM
> UTC Time: August 4, 2017 1:28 PM
> From: sunnikri at
2017 Aug 04
0
Quotas not working after adding arbiter brick to replica 2
Hi mabi,
This is a likely issue where the last gfid entry in the quota.conf file is
stale (because the directory was deleted with quota limit on it being
removed)
(https://review.gluster.org/#/c/16507/)
To fix the issue, we need to remove the last entry (last 17 bytes/ 16bytes
based on quota version) in the file.
Please use the below work around for the same until next upgrade.
you only need to
2009 Sep 23
1
steps to add a new physical disk to existing LVM setup in new centos box?
Not a centos specific question here, but if anyone can save me from
shooting myself in the foot would appreciate any pointers.... I have an
older centos 4.7 box that I recently replaced with a newer one running
centos 5.3. I'd like to add the hard disk from the older one to the
newer one before I scrap it for good. I don't care about the data on
it, would just like the extra drive
2017 Aug 01
0
Quotas not working after adding arbiter brick to replica 2
I also just noticed quite a few of the following warning messages in the quotad.log log file:
[2017-08-01 07:59:27.834202] W [MSGID: 108027] [afr-common.c:2496:afr_discover_done] 0-myvolume-replicate-0: no read subvols for (null)
> -------- Original Message --------
> Subject: [Gluster-users] Quotas not working after adding arbiter brick to replica 2
> Local Time: August 1, 2017 8:49 AM
2011 Apr 02
3
Best way to extend pv partition for LVM
I've replaced disks in a hardware RAID 1 with larger disks and enlarged
the array. Now I have to find a way to tell LVM about the extra space.
It seems there are two ways:
1. delete partition with fdisk and recreate a larger one. This is
obviously a bit tricky if you do not want to lose data, I haven't
investigated further yet.
2. create another partition on the disk, pvcreate another
2016 May 06
4
resize lvm
I have a laptop that I put centos 7 on and I started out with a 30gig partition.? I resized the other part of the disk to allow more space for centos.? I then created an unformated partition in the available space,? ran
pvcreate /dev/sda4
vgextend lvname /dev/sda4
lvextend -L 184.46G /dev/lvname/root
but when I run:
sudo resize2fs /dev/lvname/root
I get:
resize2fs: Bad magic
2017 Aug 03
2
Quotas not working after adding arbiter brick to replica 2
I tried to re-create manually my quotas but not even that works now. Running the "limit-usage" command as showed below returns success:
$ sudo gluster volume quota myvolume limit-usage /userdirectory 50GB
volume quota : success
but when I list the quotas using "list" nothing appears.
What can I do to fix that issue with the quotas?
> -------- Original Message --------
>
2014 Aug 04
0
Re: libvirt and lvm thin pool
On 08/02/2014 04:24 PM, Vasiliy Tolstov wrote:
> Hi all. I'm using libvirt 1.2.6
> I want to use lvm storage for my virtual machines.
> But i want to use new lvm2 feature - thin pool. How can i do that in
> libvirt? If libvirt can't create it via pool xml, does (and how) to
> use this setup under libvirt?
>
The 'Thin Pool' is avoided by libvirt, but volumes
2017 Aug 01
2
Quotas not working after adding arbiter brick to replica 2
Hello,
As you might have read in my previous post on the mailing list I have added an arbiter node to my GlusterFS 3.8.11 replica 2 volume. After some healing issues and help of Ravi that could get fixed but now I just noticed that my quotas are all gone.
When I run the following command:
glusterfs volume quota myvolume list
There is no output...
In the /var/log/glusterfs/quotad.log I can see the