[TriLUG] Samba WINS DHCP client choice Re: BTRFS dedupe & RAID 1 Re: tips for a new, RPI-based house server

Pete Soper via TriLUG trilug at trilug.org
Sun May 3 20:59:37 EDT 2020


When I installed Samba on the Raspberry Pi (latest, updated/upgraded 
Raspbian), a config dialog popped up asking if I want WINS info to be 
gotten from DHCP connections and ,if so I need to install dhcp-client. I 
figured this would be useful so I enabled it, but  when I tried to 
install dhcp-client I got:

Package dhcp-client is a virtual package provided by:
   dhcpcd5 1:8.1.2-1+rpt1
   pump 0.8.24-7.1
   isc-dhcp-client 4.4.1-2
   dhcpcanon 0.8.5-2
You should explicitly select one to install.

But then I remembered dnsmasq can provide DHCP, but I assume that's on 
the server side vs Samba using the client to get info of some sort.

Which is the best client to install? Or is this made moot by dnsmasq?

When installing Samba on the Odroid running Ubuntu 16.04 there was no 
dialog and I don't think I installed a DHCP client.

Thanks,
Pete


On 5/1/20 8:23 PM, Pete Soper wrote:
> I just create two ext4 filesystems on their respective drives and 
> combine them with the raid config into the MDn device. But a single 
> BTRFS filesystem has inherent support for RAID 1 straddling drives and 
> the copy on write and potential deduplication support are very 
> appealing. I just wonder if this would be a bridge too far.
>
> -Pete
>
> On 5/1/20 7:28 PM, shay walters wrote:
>>  >  I'd like to stick with ext4 with the RAID management on top,
>> > but maybe that's not ideal for this sort of thing?
>>
>> What I have is one small-ish HD to boot the system.  Then there are 
>> three other drives that are partitioned as "Linux-RAID" to make a 
>> device "MD0" which has an EXT4 filesystem on it.  I looked with fdisk 
>> and gdisk, but both of them are giving me garbage, so I'm now not so 
>> sure how I partitioned those disks. It's been a long time since I did 
>> that.  Possibly something with ZFS or BTRFS.    The nfs-tools (I 
>> think that was it) was a simple install with synaptic, as I recall.  
>> There was a bit of configuration, but if I can do it, anybody can.
>>
>> -Shay
>>


More information about the TriLUG mailing list