noobish help with Virtualisation (virtual box)

2018-10-21 Thread h via luv-main
I am a hobbyist, running a desktop, latest version, open-suse (15.0)
system.

I have recently changed  to an AMD processor having used intel for a
long time.  I generally format and do a clean install on /, but
have a /home partition which has been around for many years and may
contain entries related to the intel processor rather than the amd one. 

I am trying to install and run virtual box.

On starting a virtual machine I get a message:
AMD-V is disabled in the BIOS (or by the host OS)
(VERR_SVM_DISABLED).

My BIOS says that "Secure Virtual Machine" is enabled.

cat cpuinfo |grep svm
shows that svm is on each core.

dmidecode does NOT list the svm flag


Further system info:
Base Board Information
Manufacturer: Micro-Star International Co., Ltd.
Product Name: B350M PRO-VDH (MS-7A38)
Version: 2.0
Processor Information
Socket Designation: AM4
Type: Central Processor
Family: Zen
Manufacturer: Advanced Micro Devices, Inc.
Signature: Family 23, Model 1, Stepping 1


Thinking there may be detritus in my /home partition, I have
created a new user, but experienced the same problem when starting the
virtual machine.

Any help on 'how to make virtual box work' would be appreciated,
also any info on why cpuinfo says svm is available, but dmidecode does
not?

I am on and off line at the moment, so may take time to respond.

Thank you in advance!
H

___
luv-main mailing list
luv-main@luv.asn.au
https://lists.luv.asn.au/cgi-bin/mailman/listinfo/luv-main


Re: Dropbox and zfs

2018-10-21 Thread Craig Sanders via luv-main
On Sun, Oct 21, 2018 at 11:49:40AM +, stripes theotoky wrote:

> As of November Dropbox are dropping support for Linux file systems other
> than ext4, as I run zfs this is less than helpful.
>
> I am wondering as a temporary measure until I move to Pcloud if it would be
> possible to format a 64GB SD card as ext4, copy the contents of my Dropbox
> folder to it and then mount it at /home//Dropbox.

yes, entirely possible.

> Assuming this works it would leave the system drive as zfs and Dropbox in
> its own ext4 flashcard.
>
> Are there better ways to do this and if so how?

My partner needs to use dropbox to share files with people at work, and
her desktop machine here runs ZFS.  When dropbox announced this ext4-only
thing a few months ago, I just created a 20GB ZVOL (with "zfs create -V
20G poolname/dropbox"), formatted it as ext4, mounted it as ~/dropbox in
/etc/fstab (which is what the dropbox client is configured to use), and
chown-ed the mounted fs to her uid & gid.

It works without any problems.  As far as dropbox (or anything else) is
concerned, the mounted fs is an ext4 filesystem no different to any other ext4
fs - a ZVOL is just another block device, one that happens to be provided by a
zfs pool.

The ZVOL is snapshotted regularly and backed up with 'zfs send' to the
"backup" pool on my mail zfs server.  It also benefits from the usual ZFS
features like error-detection and correction, compression, etc.



If it turns out that 20GB isn't enough, the ZVOl can be grown with 'zfs set
volsize=...' and the ext4 fs on it can then be resized with 'resize2fs'

I didn't bother putting a partition table on the ZVOL but if I had, the ext4
partition would have to be resized with fdisk or similar after resizing the
ZVOL but before resizing the ext4 fs.


> What will happen with the zfs snapshots that the box takes every minute?

The SD card isn't part of zpool so won't be snapshotted. if you're rsyncing or
copying it to ZFS, that's only a read (remember to use the noatime or relatime
mount option), not a write so won't affect the SD card's lifespan.

> What is the life expectancy of an SD card used like this?

I don't know what kind of write frequency the dropbox client does, and life
expectancy aka write endurance depends on the quality of the SD card.

craig

--
craig sanders 
___
luv-main mailing list
luv-main@luv.asn.au
https://lists.luv.asn.au/cgi-bin/mailman/listinfo/luv-main


Dropbox and zfs

2018-10-21 Thread stripes theotoky via luv-main
As of November Dropbox are dropping support for Linux file systems other
than ext4, as I run zfs this is less than helpful.

I am wondering as a temporary measure until I move to Pcloud if it would be
possible to format a 64GB SD card as ext4, copy the contents of my Dropbox
folder to it and then mount it at /home//Dropbox.

Assuming this works it would leave the system drive as zfs and Dropbox in
its own ext4 flashcard.

Are there better ways to do this and if so how?

What will happen with the zfs snapshots that the box takes every minute?
What is the life expectancy of an SD card used like this?

Thanks in advance
Stripes

-- 
Stripes Theotoky

-37 .713869
145.050562
___
luv-main mailing list
luv-main@luv.asn.au
https://lists.luv.asn.au/cgi-bin/mailman/listinfo/luv-main