Posts

Showing posts from September 2, 2018

Can I wget or download files that are not linked to from a server?

Image
Clash Royale CLAN TAG #URR8PPP up vote 1 down vote favorite I have a url such as myurl.com/contents and I am trying to fetch all contents in the folder. Some files, such as myurl.com/contents/unlisted-file.1 are not linked to anywhere. These files are otherwise accessible; if I wget them explictly or type the address in the browser, I can see them. Now, I am doing wget myurl.com/contents -r -np to fetch all the contents of the folder, but it is not downloading the unlisted files. If my understanding is correct, this is by design - wget only downloads files that are linked to. Is there any way to download all files - linked and unlinked - in a server folder, whether it's through wget or some other tool? wget curl share | improve this question asked Dec 22 '17 at 7:45 alexcs 6 1 If opening myurl.com/contents lists all the files in that folder then only we can find a way to download them – Arpit Agarwal D...

Can one force multipath?

Image
Clash Royale CLAN TAG #URR8PPP up vote 0 down vote favorite Imagine I have a number of block devices, that I know are the same device but who have different identificators (it may be a device cut and clued with dmsetup , exported multiple times through iSCSI, etc.). I can guarantee the same volume of them, yet they may have different types (physical device and FC target, for instance). I want to multipath them via multipath util. man reads, that I can force different policies , but can I force multipath maps themselves? Whatever is the method for detecting path failure, whatever is the path priority policy, it does not depend on device type or their serial/IQN, so I see no conceptual problem in here. However, I do not find anything like that in documentation. Any ideas? block-device multipath-storage share | improve this question edited Dec 26 '17 at 5:22 asked Dec 22 '17 at 8:24 ikudyk 53 8 1 Take a look at sour...

nfs boot hangs after systemd-networkd starts

Image
Clash Royale CLAN TAG #URR8PPP up vote 1 down vote favorite I am trying to nfs-boot a linux managed with systemd, via tftp kernel + nfs rootfs, my bootargs: root=/dev/nfs rw nfsroot=192.168.0.10:/nfsroot/rootfs,nolock ip=192.168.0.60:192.168.0.10:192.168.0.10:255.255.255.0 Both kernel and rootfs loads successfully and the system is running, until systemd-networkd starts. After that, I can not ping the machine and NFS mount hangs (obviously). I tried to add network config for systemd-networkd to initialize the network, but it does not work. The serial console log: Starting Network Service... ... [ OK ] Started Network Service. [ OK ] Reached target Network. ... [ * 39.330000] nfs: server 192.168.0.10 not responding, still trying The network config: [Match] Name=eth0 [Network] Address=192.168.0.60/24 Gateway=192.168.0.10 [Route] Gateway=192.168.0.10 Destination=192.168.0.0 I wonder why systemd-networkd.service breaks the network when the system is started via nfs? I gue...