linux-fai Digest, Vol 97, Issue 4

Thierry Granier th.granier at free.fr
Wed Jul 8 12:55:59 CEST 2015


hello

i have 2 different machines
I didn't think to use /rsync/ because i don't know it.

How can i do what i want to do with rsync?

Best regards

T G

Le 08/07/2015 12:00, linux-fai-request at uni-koeln.de a écrit :
> Send linux-fai mailing list submissions to
> 	linux-fai at uni-koeln.de
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://lists.uni-koeln.de/mailman/listinfo/linux-fai
> or, via email, send a message with subject or body 'help' to
> 	linux-fai-request at uni-koeln.de
>
> You can reach the person managing the list at
> 	linux-fai-owner at uni-koeln.de
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of linux-fai digest..."
>
>
> Today's Topics:
>
>     1. Re: install FAI on a special machine (Steffen Grunewald)
>     2. Create LVM Volume on Blockdevice (Stefan Sch?rghofer)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 7 Jul 2015 13:05:45 +0200
> From: Steffen Grunewald <Steffen.Grunewald at aei.mpg.de>
> To: fully automatic installation for Linux <linux-fai at uni-koeln.de>
> Subject: Re: install FAI on a special machine
> Message-ID: <20150707110545.GK16124 at casco.aei.mpg.de>
> Content-Type: text/plain; charset=us-ascii
>
> On Tue, Jul 07, 2015 at 10:45:25AM +0200, Thierry Granier wrote:
>> Hello
>> i need your help one more time please!
>>
>> i have a machine (master) running Debian 8 with a lot of new
>> packages installed and a lot of updates on all the packages.
>> this master has 2 disks :
>>      one for / and swap (all systemes packages) (disk1)
>>      another one for /home /opt /var /usr etc... (disk2)
>>
>> I have a machine (client) running kali-linux with only 1disk and 100G free.
>>
>> i'd like to "clone" the disk1 on the 100 free Gigas on the client
>>
>> How can i do that with FAI?
> I'm missing the point - why would you want to do this with FAI at all?
> Wouldn't rsync (with the -x option) be sufficient?
>
> - S
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 7 Jul 2015 15:18:35 +0200
> From: Stefan Sch?rghofer <amd1212 at vier-ringe.at>
> To: linux-fai at uni-koeln.de
> Subject: Create LVM Volume on Blockdevice
> Message-ID: <20150707151835.4ae16ccc at underbatz.me>
> Content-Type: text/plain; charset=UTF-8
>
> Hello List,
>
> I am currently trying to create a LVM Volume directly on the block
> device /dev/sdb.
>
> My current Diskconfig looks like this:
> --------------------------------------------------
> # DATAVG
> disk_config sdb disklabel:msdos
>
> disk_config lvm
> vg datavg sdb
> datavg-datalv /data 8G xfs rw
> --------------------------------------------------
>
> I played around with many of the parameters like "always_format" and
> everything in the documentation that looked promising.
>
> Using the current Diskconfig file i always get this log lines:
> --------------------------------------------------
> Starting setup-storage 1.7
> Empty disk_config stanza for device /dev/sdb
> Using config file: /var/lib/fai/config/disk_config/DATADISK
> Error in task partition. Code: 710
> Traceback: task_error task_partition task task_install task task_action
> task main
> --------------------------------------------------
>
>
> When i try the remove the whole "disk_config sdb" part then
> setup-storage tries to resize the existing vg and is failing doing that.
>
> I am using fai version 4.3.1+deb8u1 out of the Debian Jessie
> repositories.
>
>
> Here is the main question, is it possible to create a pv directly on a
> block device without having a partition?
>
>
> Additional question where i failed before: Is it possible to do the
> same for the rootvg and boot from an "bootlv"? For the root disk i
> currently use one /boot partition and the rest in an LVM.
>
>
>
> Thanks!
> best regars,
> Stefan Sch?rghofer
>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> linux-fai mailing list
> linux-fai at uni-koeln.de
> https://lists.uni-koeln.de/mailman/listinfo/linux-fai
>
>
> ------------------------------
>
> End of linux-fai Digest, Vol 97, Issue 4
> ****************************************
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20150708/5f189079/attachment.html>


More information about the linux-fai mailing list