Displaying 20 results from an estimated 59 matches for "partprobe".
2013 Apr 17
1
partprobe command showing error
...ter which
fdisk -l gives output as:
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 3500 28009327+ 83 Linux
/dev/sda3 3501 6527 24314377+ 83 Linux
Now, when I run partprobe I get the following error:
Error: Error informing the kernel about modifications to partition
/dev/sda3 -- Device or resource busy. This means Linux won't know about
any changes you made to /dev/sda3 until you reboot -- so you shouldn't
mount it or use it in any way before rebooting.
Warni...
2008 Jul 07
7
Handling virtual disks on Xen
Hello everyone,
Im starting to use Xen on a SUSE Linux Enterprise Server 10 SP2, but Im not
quite happy yet with the virtual disk management. I still need to do a lot
of research about that, but first I want to ask the community about a simple
way to handle the guest machine disks.
*Is there any way to increase/decrease a guest machine disk after the OS is
installed? Can I have a dynamically
2016 May 14
3
C6: Gparted "the kernel failed to re-read partition table"
On Fri, 2016-05-13 at 23:17 -0453, William A. Mahaffey III wrote:
> Is the disk or 1 of its partitions mounted ? If so, can it be
> unmounted
Hi William, its the only HDD on that machine. All the partitions are
mounted. The error message refers to the HDD, not to any of the mounted
partitions.
> > WARNING: the kernel failed to re-read the partition table
> > on /dev/sda
2015 Dec 21
4
Extending a CentOS disk without reboot
..., bigger one)
Now's when the problems happened. After writing the partition table I
got the usual "Busy" error. But I needed to do this without downtime.
So, what did I try to get the kernel acknowledge the partition size change:
* hdparm -z /dev/sdb
* partx -a -v /dev/sdb
* partprobe -s
* echo "1" > /sys/block/sdb/device/rescan
And while dmesg reported that it recognized the partition change, LVM
did still not see it. So eventually, I was still forced to reboot, after
which everything (pvresize, lvresize, resize2fs) worked fine. Environment:
* A VMWare virt...
2012 Aug 24
2
resize disk image partition
Hi,
I''m trying to clarify if it''s at all possible to live resize a disk image.
After trying and failing it seems that the reason a disk image cannot be
resized - is that domU is only able to detect changes in partitions (eg.
partprobe), not in block devices as the xvd driver lacks a rescan feature.
My domU sees disk images as blockdevices - that is without a partition
table, and I cannot find a way to boot a domU from a partition within a disk
image?
But if I could get XEN to boot a domU from a partition on a disk image, I
ass...
2005 Jun 01
1
Re: ocfs2 and configfs.ko..fixed...but gnuparted has issues....
I was able to get the source code for ocfs2 and compile it. This worked and created the necessary .ko files
Now I have to figure out why gnu parted 1.6.15 has bugs. when I try a partprobe on a partitioned firewire maxtor drive
mount -t ocfs2 /dev/sdb1 /u01/oradata/orcl
It says no such device....
Any ideas anyone?...
Regards,
Mandar Vengurlekar
----- Original Message -----
From: Mandar P Vengurlekar
To: ocfs2-announce@oss.oracle.com ; otnfeedback_us@oracle.com
Sent: Tuesda...
2009 Oct 21
1
Rescan for new geometry without reboot?
Hello,
We just had our servers fitted with more disks. Most of the disks are
growing existing RAID 1+0 channels, some are in new channels.
Controllers and disks support live installation.
I'd like to avoid a reboot just to let the system find that the disks
are larger.
All I can find so far suggests that its possible to rescan the disks,
and even find the new geometry (e.g.
2017 Aug 18
4
Problem with softwareraid
...h my md0 device running
centos7. after a new start of my server the md0 was gone. now after
trying to find the problem i detected the following:
Booting any installed kernel gives me NO md0 device. (ls /dev/md*
doesnt give anything). a 'cat /proc/partitions show me now
/dev/sd[a-d]1 partition. partprobe and a mdadm assemble gives me "disk
busy"
[root at quad live]# cat mdstat
Personalities : [raid6] [raid5] [raid4] [raid10]
unused devices: <none>
[root at quad ~]# partprobe
device-mapper: remove ioctl on WDC_WD20EFRX-68AX9N0_WD-WMC301255087p1
failed: Device or resource busy
Warni...
2008 Oct 15
2
Encrypting tmp swap and home
Hi everyone,
I added a page under the HowTos for Encryption, and then added a guide
for encrypting /tmp /swap and /home using cryptsetup and LUKS keys on
LVM, when you already have partitions setup.
http://wiki.centos.org/HowTos/EncryptTmpSwapHome
Regards,
Max
2015 Jul 13
0
Re: Migrate Win2k3 to KVM
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On 07/13/2015 09:58 AM, Ruzsinszky Attila wrote:
>> Here is the first problem. I can't mount sdi1! sdi1 not
>> existent.
>>> :-(
>>
>> What if you partprobe /dev/sdi?
>>
> Nothing. Empty output.
When partprobe properly works (ie encounters no error), it doesn't
print anything to console, it just adds the appropriate entries in /dev.
(I guess some answers got lost on libvirt-users, sorry about that).
- --
Pierre Schweitzer <pierre@re...
2015 Dec 24
0
Extending a CentOS disk without reboot
...to extend it from the OS side.
...
> Now's when the problems happened. After writing the partition table I
> got the usual "Busy" error. But I needed to do this without downtime.
> So, what did I try to get the kernel acknowledge the partition size
> change:
...
> * partprobe -s
Well, partprobe is the standard advice for this situation, but I don't
think it actively does anything with the -s flag. That could have been
the problem, but I'm not certain.
> And while dmesg reported that it recognized the partition change, LVM
> did still not see it.
You...
2015 Dec 24
1
Extending a CentOS disk without reboot
....
> ...
>> Now's when the problems happened. After writing the partition table I
>> got the usual "Busy" error. But I needed to do this without downtime.
>> So, what did I try to get the kernel acknowledge the partition size
>> change:
> ...
>> * partprobe -s
>
> Well, partprobe is the standard advice for this situation, but I don't
> think it actively does anything with the -s flag. That could have
> been the problem, but I'm not certain.
>
>> And while dmesg reported that it recognized the partition change, LVM
>...
2017 Aug 19
0
Problem with softwareraid
...centos7. after a new start of my server the md0 was gone. now after
> trying to find the problem i detected the following:
>
> Booting any installed kernel gives me NO md0 device. (ls /dev/md*
> doesnt give anything). a 'cat /proc/partitions show me now
> /dev/sd[a-d]1 partition. partprobe and a mdadm assemble gives me "disk
> busy"
>
> [root at quad live]# cat mdstat
> Personalities : [raid6] [raid5] [raid4] [raid10]
> unused devices: <none>
>
> [root at quad ~]# partprobe
> device-mapper: remove ioctl on WDC_WD20EFRX-68AX9N0_WD-WMC301255087p1...
2014 Jul 25
1
LVM - VG directory not being created
...9;s supposed to according to Red Hat guides on
LVM.
On a CentOS 5.9 server, with an almost identical set up, the VG showed up
under /dev/ correctly, so I'm wondering if the VG folder is stored
elsewhere in CentOS 6? I have tried the obvious solutions, such as a
reboot, vgscan, pvscan, and even partprobe. I have even tried running
'find' in search of the VG name, which returned no results.
Any help is much appreciated. :)
Regards,
Kyle Thorne | VentraIP Australia
*Level 3 Technical Administrator*
--
*The contents of this email are strictly private and confidential unless
otherwise not...
2008 Aug 28
3
potential wiki on encryption
Hello all,
I posted the whole disk encryption instructions in the forum that has been briefly discussed on the list. I joined the list per Ned's post on the thread.
http://www.centos.org/modules/newbb/viewtopic.php?viewmode=flat&topic_id=15923&forum=42
I have a couple of questions about the process of creating a wiki.
1. How does the peer-review process work?
2. Is there a place
2015 Aug 05
2
CentOS 5 grub boot problem
...39;s UI is totally unlike fdisk.
The start sector for hdg2 should be 401623 which is 8 sector aligned,
and the end value should be 975691717 in order to make it the same as
hde2. And change the type to 0xfd.
Now you probably have to reboot because the partition map has changed,
I'm not sure if partprobe exists on CentOS5, could be worth a shot
though and see if the kernel gets the new partition map. Check with
blkid.
And then finally add the "new" device.
mdadm --managed /dev/md2 -a /dev/hdg2
And now it should be resyncing...
cat /proc/mdstat
Something like that. Proof read it!
---
C...
2006 Nov 23
5
sysfs udev hald -_-
I tried creating a new partition on a disk.
After the partition table was written, I got a message about the kernel
still using the old partition table.
How do I get whatever system to register the new partition short of
rebooting the box?
2010 Apr 05
1
RESEND: [PATCH node 1/3] enables ability for a common shared root
...fi
- log "Starting partitioning of $ROOTDRIVE"
- log "Partitioning drive: $ROOTDRIVE"
- # FIXME: save a backup copy, just in case?
- log "Wiping old boot sector"
- dd if=/dev/zero of=$ROOTDRIVE bs=1024K count=1
- reread_partitions $ROOTDRIVE
- partprobe -s $ROOTDRIVE
- log "Labeling Drive: $ROOTDRIVE"
- parted $ROOTDRIVE -s "mklabel ${LABEL_TYPE}"
+ if [ "$OVIRT_ROOT_INSTALL" == "y" ]; then
+ log "Starting partitioning of $ROOTDRIVE"
+ log "Partitioning drive: $ROOTDRIVE...
2010 Apr 01
2
[PATCH node 1/3] Enables ability to have a common shared root
...fi
- log "Starting partitioning of $ROOTDRIVE"
- log "Partitioning drive: $ROOTDRIVE"
- # FIXME: save a backup copy, just in case?
- log "Wiping old boot sector"
- dd if=/dev/zero of=$ROOTDRIVE bs=1024K count=1
- reread_partitions $ROOTDRIVE
- partprobe -s $ROOTDRIVE
- log "Labeling Drive: $ROOTDRIVE"
- parted $ROOTDRIVE -s "mklabel ${LABEL_TYPE}"
+ if [ "$OVIRT_ROOT_INSTALL" == "y" ]; then
+ log "Starting partitioning of $ROOTDRIVE"
+ log "Partitioning drive: $ROOTDRIVE...
2007 Oct 06
2
expand physical volume
Hi.
I added a disk to a hardware raid 5 array and now i want to expand the
LVM physical volume. There are now 4 sas 146GB disks in the server.
The virtual disk /dev/sdb from the raid controller has been resized
successfully with the server management software osma.
[root at srv1 ~]# fdisk -l /dev/sdb
Disk /dev/sdb: 438.4 GB, 438489317376 bytes
255 heads, 63 sectors/track, 53309 cylinders