Our shared drive in the office is synced to dropbox, so I want to stop people putting large (> 400MB) files on it.
The shared drive is on a PC running Ubuntu, and we use Samba to share the drive with the office PCs (all running Windows 7).
Is it possible to put a limit on file size?
Sometimes this works:
[global]
max disk size = 100
(=100MB)
Related
I'm using Google Colab to do some machine learning project. I've mounted my drive, activated the GPU, purchased extra storage space from google drive, and have over 100Gb of free space on google drive, but the "drive" monitor in my Colab notebook says that the drive is filling up. Screen shots of my Colab notbook and Google Drive storage below.
Why does the notebook show that the drive is filling up? I've refreshed my google drive several times to make sure that the storage space that's showing is accurate.
The Google Drive storage and Google Colab disk space are different.
Google drive storage is the space given in the google cloud. whereas the colab disk space is the amount of storage in the machine alloted to you at that time. You can increase the storage by changing the runtime.
A machine with GPU has more memory and diskspace than a runtime with cpu only.
Similarly if you want more, you can change the runtime to a TPU machine.
Google drive storage and google colab disk are different. Google drive storage is object storage system while google colab disk is a File system that you use during the colab runtime(mostly a SSD, or a HDD). Both are different and have different usage (read here for more).
The problem you are facing is the shortage of SSD disk during the runtime. Google colab has no option to increase this. You need to shift to cloud notebooks to increase the size of the runtime SSD.
I'm setting up Azure file sync to Sync files to Azure File shares. How do I check the directory statistics?
I tried using "Storage Explorer(preview)" at Azure Portal to get the file shares directory statistics, but there are so many files under file shares, it had taken more five hours and met an error. I had tried three times but every time was the same error.
I expect to get the Azure Files Share Directory Statistics separately but Storage Explorer usually ends with an error.
The Storage Explorer (preview) is a preview version, you could download the Azure Storage Explorer to local, connect to your storage account and have a try.
I am using latest version of drill i.e (1.5 version) and using drill in embedded mode for local.
I have some csv file in my other system(PC2), which has some I.P address. I want to run search query from my own system(PC1) and try to get that csv file which is store in other system(PC2). PC1 have Drill and its running throught cmd in embedded mode.
Is There any way to get data or to search files(csv, psv, etc) from other pc(remote machine) in embedded mode for local(not for hdfs)?
You could try to mount drive from remote pc as local drive, and then run your drill queries on local drive. I did that with linux PC.
But this is not best decision for querying big files. Better to setup drill in distributed mode and run drillbit on machine where you store your data.
I want to download files from a Google Drive account to a server for backup purposes. The account holds about 40GB of files, which are mostly not owned by the user (so Google Takeout won't work).
I'd like to download the files in parallel to speed up the process.
You can use the Google Drive Linux client, which is conveniently called drive. It's under development, but works pretty well.
It's got some dependencies (seemingly Go 1.2+), which can be hard to satisfy in a server environment. But it's possible to install.
$ drive init
$ drive pull
Will pull your whole Drive account down, but be fairly slow.
$ drive list | sed -e 's/^\///' | xargs -P 10 -I{} drive pull -quiet -no-prompt '{}'
Will download your top level folders in parallel, which may or may not be what you want.
It is possible to download in parallel, however you will reach quotas designed to prevent abuse of the system. In the developers console you can increase the rate limit so that a single user (you) can consume all the quota but you will eventually reach the rate limit exception with too many files downloaded in parallel. Basically google makes sure you dont go over a per-second limit given that its a free service or fixed price like google apps.
I am developing an app which would need to have files pushed to its local store for its consumption.
Is it possible to transfer files from a PC to a windows phone app local folder or say one of the Special-use folders in the local folder such as Shared/Media from a desktop application in a wired or wireless manner ? Are there any size restrictions as to the maximum data a local folder could contain for transfers done this way ?
On further research on WP8 storage i got to know about isolated storage explorer and i envision the desktop client to be similar to isolated storage explorer but customized and simplified only for the app is that possible ? meanwhile let me search more.
Yes - it does seem like it is possible. You can use the Isolated Storage Explorer in WP8.
Look at the Replacing files in the local folder in the following article on how to move files between your computer and your phone:
How to use the Isolated Storage Explorer tool for Windows Phone
Eventually i ended up using socket programming to solve this, Stephen Cleary's blog post here helped a lot to brush up the basics