Re: [cobbler] reread partition table without reboot

2013-09-13 Thread Michael
Hello,

Have you tried the following command:

*blockdev --rereadpt*   ?


Regards,
*Michael*



2013/9/12 Mann, Owen owen.m...@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.m...@interactivedata.com
   --
 *From:* cobbler-boun...@lists.fedorahosted.org [
 cobbler-boun...@lists.fedorahosted.org] on behalf of Robert Joseph [
 rjos...@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-l...@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/cobblerhttps://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


Re: [cobbler] reread partition table without reboot

2013-09-13 Thread Robert Joseph
On Fri, Sep 13, 2013 at 1:37 AM, Michael michael.pat...@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.m...@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.m...@interactivedata.com
   --
 *From:* cobbler-boun...@lists.fedorahosted.org [
 cobbler-boun...@lists.fedorahosted.org] on behalf of Robert Joseph [
 rjos...@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-l...@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/cobblerhttps://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
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] reread partition table without reboot

2013-09-12 Thread Orion Poplawski

On 09/12/2013 01:32 PM, Robert Joseph wrote:

anyone have suggestions for getting the OS to successfully reread the
partition table on a disk with an already mounted partition?


I think that's a no go.  Can you unmount the mounted partitions first 
and then remount?



--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA DivisionFAX: 303-415-9702
3380 Mitchell Lane  or...@cora.nwra.com
Boulder, CO 80301  http://www.cora.nwra.com
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] reread partition table without reboot

2013-09-12 Thread Robert Joseph
On Thu, Sep 12, 2013 at 1:09 PM, Patrick Lists 
cobbler-l...@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/cobblerhttps://lists.fedorahosted.org/mailman/listinfo/cobbler




-- 
robert joseph, (m) 415-516-0548
production operations @ foursquare
foursquare is hiring! foursquare.com/jobs
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler