LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-05-2019, 10:48 AM   #1
rajtrilok
LQ Newbie
 
Registered: Jun 2019
Posts: 3

Rep: Reputation: Disabled
Lightbulb Partitioning errors


Hi,
Still saying---- "Error: Partition(s) 1 on /dev/sdd have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use. As a result, the old partition(s) will remain in use. You should reboot now before making further changes."


Please kindly post a relevant resolution in this regard.


Thankfully

Last edited by michaelk; 06-06-2019 at 11:38 AM.
 
Old 06-05-2019, 01:53 PM   #2
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,780

Rep: Reputation: 2213Reputation: 2213Reputation: 2213Reputation: 2213Reputation: 2213Reputation: 2213Reputation: 2213Reputation: 2213Reputation: 2213Reputation: 2213Reputation: 2213
Note: Posting to an old thread already marked "SOLVED" greatly decreases your chances of getting a response.

Post the output from "lsblk -f /dev/sdd". In order to reload the partition table, you cannot have any mounted filesystems, unlocked LUKS containers, or active LVM volumes on the drive.

Last edited by rknichols; 06-05-2019 at 01:57 PM.
 
Old 06-06-2019, 02:07 AM   #3
rajtrilok
LQ Newbie
 
Registered: Jun 2019
Posts: 3

Original Poster
Rep: Reputation: Disabled
[root@rCentos6 ~]# lsblk -f /dev/sdd
NAME FSTYPE LABEL UUID MOUNTPOINT
sdd
├─sdd1 LVM2_member rG8Urh-JnEu-TOSI-7fYJ-HUJI-b2iM-1xEKB5
│ └─fileshare-backup (dm-4) ext4 937fd257-d320-4eec-839e-0095211e2afe /share/backup
├─sdd2 LVM2_member 8L2SfJ-cukV-dHAd-ZUeP-VFvJ-zjIM-YNOlxZ
│ └─fileshare-backup (dm-4) ext4 937fd257-d320-4eec-839e-0095211e2afe /share/backup
└─sdd3 LVM2_member sY31jD-gzAS-xwqP-KtQ7-8gCj-PYCW-UD2j9i


After partprobe command used, below warning msgs always...
Warning: WARNING: the kernel failed to re-read the partition table on /dev/sda (Device or resource busy). As a result, it may not reflect all of your changes until after reboot.

Last edited by rajtrilok; 06-06-2019 at 02:10 AM.
 
Old 06-06-2019, 08:54 AM   #4
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,780

Rep: Reputation: 2213Reputation: 2213Reputation: 2213Reputation: 2213Reputation: 2213Reputation: 2213Reputation: 2213Reputation: 2213Reputation: 2213Reputation: 2213Reputation: 2213
Quote:
Originally Posted by rajtrilok View Post
After partprobe command used, below warning msgs always...
Warning: WARNING: the kernel failed to re-read the partition table on /dev/sda (Device or resource busy). As a result, it may not reflect all of your changes until after reboot.
I think you made a typo there. Previous discussion as been about /dev/sdd.

In order to reload the partition table you will need to unmount /share/backup and deactivate the fileshare-backup logical volume.
Code:
umount /share/backup
lvchange -an fileshare/backup
partprobe /dev/sdd
lvchange -ay fileshare/backup
mount /share/backup
 
Old 06-06-2019, 11:34 AM   #5
rajtrilok
LQ Newbie
 
Registered: Jun 2019
Posts: 3

Original Poster
Rep: Reputation: Disabled
Hi,
Sorry for my typo. Actually that has been copied and wrongly chosen the first line.
Issue was within /dev/sdd3 which I've already notified in the previous post.
It could not be done without a restart so I did.

By the way thanks for your patience and support.

Thanks Again
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Are these error harmful? -.sd1 Soft Errors: 0 Hard Errors: 6 Transport Errors: 0 manalisharmabe Solaris / OpenSolaris 2 10-04-2013 11:55 AM
Errors, Errors, and more Errors (KDE 3.4.x GUI Errors) Dralnu Linux - Software 2 05-13-2006 08:30 AM
errors,errors,errors!!! randell6564 Mandriva 2 01-15-2006 02:29 AM
Grub errors...grub errors...grub errors smattmac Linux - Newbie 1 06-13-2005 02:07 PM
partitioning and disk errors junkie3 Linux - Newbie 1 10-14-2004 10:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration