Skip to main content

All Questions

Tagged with
3 votes
1 answer
92 views

file locking mandated by OS/filesystem rather than opted into by file accessors?

Is there a way to have the OS (specifically, FreeBSD) or filesystem (specifically, ZFS) enforce that all access (or, at least, all non-root access, I guess) to a certain file must be done while the ...
Bob Vesterman's user avatar
0 votes
1 answer
1k views

I'm out of space on /var. How do I resize and move a UFS partition?

I was upgrading FreeBSD packages as part of a minor version upgrade and I ran out of space on /var/cache/pkg. Now I need to shrink /usr move /usr and /tmp grow /var Is this possible with FreeBSD? If ...
Darwin von Corax's user avatar
2 votes
1 answer
1k views

How to fix my partition after mistaken gpart bootcode?

I was trying to make my HDD bootable and did gpart bootcode -b /boot/pmbr -p /boot/gptboot -i1 ada0s1 and now I got "Invalid partition" message on boot. /boot was from USB drive, not from HDD (...
Dims's user avatar
  • 3,285
1 vote
2 answers
86 views

Swapping a mounted drive between machines - is it possible?

Let's say I have a storage device called A. I install A into my machine M1 (which contains a drive called B which is a unix boot drive containing the operating system). I then boot up M1 and mount ...
RH_delta's user avatar
4 votes
3 answers
3k views

How do I format an internal hard drive so that FreeBSD, Linux and Windows can all access it?

I'd like to know how to format a 2 TB hard drive so that FreeBSD, Linux and Windows can all access it and write to it. I've tried using my own brain on this one and making a singular partition on it ...
Josh Pinto's user avatar
  • 3,503
2 votes
1 answer
2k views

ACL inheritance recalculation on FreeBSD - when does it happen and can I force inheritance recalculation rather than set explicit ACLs?

If I'm using NFSv4 ACLs on FreeBSD, and I change the ACLs on a directory in a way that affects the inherited ACLs of its child files+dirs (and potentially might cascade and affect the children/...
Stilez's user avatar
  • 1,271
0 votes
0 answers
175 views

Is it possible to boot Linux from Raw partition?

I have a FreeBSD box running on x86_64. Box have 1 TB of HDD with 9 partition out of which 8 are formatted in UFS2 and one is raw partition (200 GB ). FreeBSD running currently do not have ext2 ...
Satpal Parmar's user avatar
2 votes
1 answer
1k views

Creating a ext2 partition on FreeBSD 10.1 running on x86 based box with MBR partitioning

I have old FreeBSD machine running on x86 based platform with below MBR partitioning pod0226-wsa115:rtestuser 1] uname -a FreeBSD pod0226-wsa115 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Mon Mar 10 15:25:...
Satpal Parmar's user avatar
4 votes
2 answers
3k views

Create filesystem in regular file using FreeBSD

When using Linux, one can easily create a regular file of some size and then create a filesystem in it. How can one do the same thing when using FreeBSD? I tried this: root@:/tmp/test # newfs -U ~/...
UTF-8's user avatar
  • 3,287
7 votes
1 answer
2k views

How to Run Tunefs on Root Filesystem in FreeBSD?

I want to enable ACLs for a FreeBSD 11 system. According to the FreeBSD Handbook this can be done in two ways: By using a mount option -- mount -o acls By modifying a superblock -- tunefs -a enable ...
Brandon Bradley's user avatar
0 votes
2 answers
651 views

Cleanest way to copy data from UFS file system to FAT file system?

On x86_64 machine running FreeBSD 10.1 when I'm un-taring an file and getting below error for all files in tar : x var/lib/nfs/statd/sm.bak/: Can't set user=1002/group=1002 for var/lib/nfs/statd/sm....
Satpal Parmar's user avatar
10 votes
1 answer
1k views

How to format & mount a large partition with 4k sector size in Freebsd?

gpart show -l: => 6 146239733 da0 GPT (558G) 6 10 - free - (40K) 16 128 1 (null) (512K) 144 262144 2 efi (1.0G) ...
Satpal Parmar's user avatar
3 votes
0 answers
126 views

How to approach planning a BSD file server's outward-facing file hierarchy [closed]

I'm migrating data on an informal home server to a new FreeNAS (FreeBSD 10) based file server running samba, and I'm stuck in trying to plan how to lay the data out, to give correct access to ...
Stilez's user avatar
  • 1,271
7 votes
4 answers
4k views

Filesystem to share disks between Linux and FreeBSD

I have recently decided to install FreeBSD on my desktop but I still have several computers running GNU/Linux and I would like to share disk partitions between the two OSs, in particular: The ...
Giorgio's user avatar
  • 807
0 votes
2 answers
234 views

FreeBSD nullfs and strange file size

How to determine a correct file size? It cannot be 680G. I suppose it's somehow related to some nullfs related feature # ls -lah system.log -rw-r----- 1 web vuser 680G 21 Jul 22:59 system.log # ...
pevik's user avatar
  • 1,525

15 30 50 per page