[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cobbler
Subject:    Re: [cobbler] reread partition table without reboot
From:       Robert Joseph <rjoseph () foursquare ! com>
Date:       2013-09-13 18:06:40
Message-ID: CABubvxSyLPwR5L99ew_vi7TA3856sehVe8wtizHTi52K-kqTEA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Fri, Sep 13, 2013 at 1:37 AM, Michael <michael.patris@gmail.com> wrote:

> Hello,
> 
> Have you tried the following command:
> 
> *blockdev --rereadpt*   ?
> 

i moved my parted commands into %pre.  i haven't had a chance to test yet,
but pretty sure that's going to work.  if not, i'll play with blockdev.

thanks for the suggestions everyone.

-r



> 
> 
> Regards,
> *Michael*
> 
> 
> 
> 2013/9/12 Mann, Owen <Owen.Mann@interactivedata.com>
> 
> You could also try `sfdisk -R`
> > 
> > Owen Mann, Interactive Data Real Time Services
> > 
> > 60 Codman Hill Rd, Boxborough, MA 01719
> > 
> > 978-795-3758 owen.mann@interactivedata.com
> > ------------------------------
> > *From:* cobbler-bounces@lists.fedorahosted.org [
> > cobbler-bounces@lists.fedorahosted.org] on behalf of Robert Joseph [
> > rjoseph@foursquare.com]
> > *Sent:* Thursday, September 12, 2013 4:14 PM
> > *To:* cobbler mailing list
> > *Subject:* Re: [cobbler] reread partition table without reboot
> > 
> > 
> > 
> > 
> > On Thu, Sep 12, 2013 at 1:09 PM, Patrick Lists <
> > cobbler-list@puzzled.xs4all.nl> wrote:
> > 
> > > On 09/12/2013 09:32 PM, Robert Joseph wrote:
> > > [snip]
> > > 
> > > anyone have suggestions for getting the OS to successfully reread the
> > > > partition table on a disk with an already mounted partition?
> > > > 
> > > 
> > > Don't know if it's available but have you tried kpartx?
> > > 
> > 
> > no, will look into it.
> > 
> > fwiw, the reason i'm using parted is because the disks are large (3TB)
> > and it's my understanding that kickstart's built-in 'part' command doesn't
> > work for disks > 2TB.  perhaps i'm wrong about that, that would make
> > everything simple.
> > 
> > -r
> > 
> > 
> > > 
> > > Regards,
> > > Patrick
> > > 
> > > 
> > > ______________________________**_________________
> > > cobbler mailing list
> > > cobbler@lists.fedorahosted.org
> > > https://lists.fedorahosted.**org/mailman/listinfo/cobbler<https://lists.fedorahosted.org/mailman/listinfo/cobbler>
> > >  
> > 
> > 
> > 
> > --
> > robert joseph, (m) 415-516-0548
> > production operations @ foursquare
> > foursquare is hiring! foursquare.com/jobs
> > 
> > *******************************************************
> > This message (including any files transmitted with it) may contain
> > confidential and/or proprietary information, is the property of Interactive
> > Data Corporation and/or its subsidiaries, and is directed only to the
> > addressee(s). If you are not the designated recipient or have reason to
> > believe you received this message in error, please delete this message from
> > your system and notify the sender immediately. An unintended recipient's
> > disclosure, copying, distribution, or use of this message or any
> > attachments is prohibited and may be unlawful.
> > *******************************************************
> > 
> > _______________________________________________
> > cobbler mailing list
> > cobbler@lists.fedorahosted.org
> > https://lists.fedorahosted.org/mailman/listinfo/cobbler
> > 
> > 
> 
> _______________________________________________
> cobbler mailing list
> cobbler@lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/cobbler
> 
> 


-- 
robert joseph, (m) 415-516-0548
production operations @ foursquare
foursquare is hiring! foursquare.com/jobs


[Attachment #5 (text/html)]

<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, \
Sep 13, 2013 at 1:37 AM, Michael <span dir="ltr">&lt;<a \
href="mailto:michael.patris@gmail.com" \
target="_blank">michael.patris@gmail.com</a>&gt;</span> wrote:<br> <blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr"><div \
style="font-family:verdana,sans-serif;font-size:small;color:rgb(0,0,102)">Hello,<br><br></div><div \
style="font-family:verdana,sans-serif;font-size:small;color:rgb(0,0,102)">


Have you tried the following command: <br><br><i>blockdev --rereadpt</i>   \
?<br></div></div></blockquote><div><br></div><div>i moved my parted commands into \
%pre.  i haven&#39;t had a chance to test yet, but pretty sure that&#39;s going to \
work.  if not, i&#39;ll play with blockdev.</div> <div><br></div><div>thanks for the \
suggestions everyone.</div><div><br></div><div>-r</div><div><br></div><div> \
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr"> <div \
style="font-family:verdana,sans-serif;font-size:small;color:rgb(0,0,102)"><br><br></div><div \
class="gmail_extra"><div \
style="font-family:verdana,sans-serif;font-size:small;color:rgb(0,0,102)"> \
Regards,</div> <div><div dir="ltr"><i><span \
style="font-family:verdana,sans-serif;color:rgb(0,0,102)">Michael</span></i><div \
style="font-family:verdana,sans-serif;font-size:small;color:rgb(0,0,102);display:inline">


 </div><br></div></div>
<br><br><div class="gmail_quote">2013/9/12 Mann, Owen <span dir="ltr">&lt;<a \
href="mailto:Owen.Mann@interactivedata.com" \
target="_blank">Owen.Mann@interactivedata.com</a>&gt;</span><div><div \
class="h5"><br><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex">







<div>
<div style="direction:ltr;font-size:10pt;font-family:Tahoma">You could also try \
`sfdisk -R`<br> <div><br>
<div style="font-size:13px;font-family:Tahoma"><font face="Courier"><font \
face="Courier"> <p dir="ltr">Owen Mann, Interactive Data Real Time Services</p>
<p dir="ltr">60 Codman Hill Rd, Boxborough, MA 01719</p>
<p dir="ltr"><a href="tel:978-795-3758" value="+19787953758" \
target="_blank">978-795-3758</a> <a href="mailto:owen.mann@interactivedata.com" \
target="_blank">owen.mann@interactivedata.com</a></p> </font></font></div>
</div>
<div style="font-size:16px;font-family:Times New Roman">
<hr>
<div style="direction:ltr"><font color="#000000" face="Tahoma"><b>From:</b> <a \
href="mailto:cobbler-bounces@lists.fedorahosted.org" \
target="_blank">cobbler-bounces@lists.fedorahosted.org</a> [<a \
href="mailto:cobbler-bounces@lists.fedorahosted.org" \
target="_blank">cobbler-bounces@lists.fedorahosted.org</a>] on behalf of Robert \
Joseph [<a href="mailto:rjoseph@foursquare.com" \
target="_blank">rjoseph@foursquare.com</a>]<br>



<b>Sent:</b> Thursday, September 12, 2013 4:14 PM<br>
<b>To:</b> cobbler mailing list<br>
<b>Subject:</b> Re: [cobbler] reread partition table without reboot<br>
</font><br>
</div><div><div>
<div></div>
<div>
<div dir="ltr"><br>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Thu, Sep 12, 2013 at 1:09 PM, Patrick Lists <span \
dir="ltr"> &lt;<a href="mailto:cobbler-list@puzzled.xs4all.nl" \
target="_blank">cobbler-list@puzzled.xs4all.nl</a>&gt;</span> wrote:<br> <blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"> On 09/12/2013 09:32 PM, Robert Joseph wrote:<br>
[snip]
<div><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"> anyone have suggestions for getting the OS to successfully \
reread the<br> partition table on a disk with an already mounted partition?<br>
</blockquote>
<br>
</div>
Don&#39;t know if it&#39;s available but have you tried kpartx?<br>
</blockquote>
<div><br>
</div>
<div>no, will look into it.</div>
<div><br>
</div>
<div>fwiw, the reason i&#39;m using parted is because the disks are large (3TB) and \
it&#39;s my understanding that kickstart&#39;s built-in &#39;part&#39; command \
doesn&#39;t work for disks &gt; 2TB.  perhaps i&#39;m wrong about that, that would \
make everything simple.</div>



<div><br>
</div>
<div>-r</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"> <br>
Regards,<br>
Patrick
<div>
<div><br>
<br>
______________________________<u></u>_________________<br>
cobbler mailing list<br>
<a href="mailto:cobbler@lists.fedorahosted.org" \
target="_blank">cobbler@lists.fedorahosted.org</a><br> <a \
href="https://lists.fedorahosted.org/mailman/listinfo/cobbler" \
target="_blank">https://lists.fedorahosted.<u></u>org/mailman/listinfo/cobbler</a><br>
 </div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
robert joseph, (m) <a href="tel:415-516-0548" value="+14155160548" \
target="_blank">415-516-0548</a><br> production operations @ foursquare<br>
foursquare is hiring! <a href="http://foursquare.com/jobs" \
target="_blank">foursquare.com/jobs</a> </div>
</div>
</div>
</div></div></div>
</div>
<p></p>

<p>*******************************************************<br>
This message (including any files transmitted with it) may contain confidential \
and/or proprietary information, is the property of Interactive Data Corporation \
and/or its subsidiaries, and is directed only to the addressee(s). If you are not the \
designated recipient or have reason to believe you received this message in error, \
please delete this message from your system and notify the sender immediately. An \
unintended recipient&#39;s disclosure, copying, distribution, or use of this message \
or any attachments is prohibited and may be unlawful. <br>



*******************************************************</p></div>

<br>_______________________________________________<br>
cobbler mailing list<br>
<a href="mailto:cobbler@lists.fedorahosted.org" \
target="_blank">cobbler@lists.fedorahosted.org</a><br> <a \
href="https://lists.fedorahosted.org/mailman/listinfo/cobbler" \
target="_blank">https://lists.fedorahosted.org/mailman/listinfo/cobbler</a><br> \
<br></blockquote></div></div></div><br></div></div> \
<br>_______________________________________________<br> cobbler mailing list<br>
<a href="mailto:cobbler@lists.fedorahosted.org">cobbler@lists.fedorahosted.org</a><br>
 <a href="https://lists.fedorahosted.org/mailman/listinfo/cobbler" \
target="_blank">https://lists.fedorahosted.org/mailman/listinfo/cobbler</a><br> \
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>robert joseph, (m) \
415-516-0548<br>production operations @ foursquare<br>foursquare is hiring! <a \
href="http://foursquare.com/jobs" target="_blank">foursquare.com/jobs</a> \
</div></div>


[Attachment #6 (text/plain)]

_______________________________________________
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic