Questions tagged [ufs]

29 questions
8
votes
3 answers

Mount FreeBSD UFS from logical partition under Linux

How can I mount the FreeBSD UFS boot partition under Ubuntu in this setup: a single HDD which contains an MBR partition table which contains some primary Linux partitions and an extended partition which contains a Linux logical partition and a…
not-a-user
  • 1,497
  • 3
  • 15
  • 16
7
votes
1 answer

Reading FreeBSD UFS formatted external drive in Mac OS X

I have an external USB drive with backup files formatted in FreeBSD's UFS file system. When I plug it into a computer running Mac OS X 10.9.4, I cannot read the drive's contents, and I don't have physical access to a machine running FreeBSD. Is…
Ralph
  • 73
  • 1
  • 1
  • 3
5
votes
3 answers

Resizing UFS /root partition on FreeBSD

Is there a way to resize a UFS /root partition while running OS which resides on it? I am running FreeBSD.
4
votes
2 answers

Storing thousands of files in one directory

I have a web-site that I'm checking for performance issues and bugs, and i came across a caching code that caches thousands of files into one single directory. I understand that this is not good and that I/O will degrade and i also heard about…
rinchik
  • 141
  • 1
  • 5
4
votes
3 answers

How to resolve e2fsck Superblock problem?

I have a problem like this question How disk became suddenly write protected in spite configuration is read/write? And I used these commands to resolve that umount /dev/sdb1 e2fsck /dev/sdb1 mount /dev/sdb1 but ~# e2fsck /dev/sdb1 e2fsck 1.44.5…
Red Science
  • 181
  • 2
  • 3
  • 16
4
votes
1 answer

How can I fix an overlapped FreeBSD/UFS partition?

I have a Seagate 1TB Drive [ST1000LM010-9YH146] which had one FreeBSD slice and was formatted as UFS and mounted at /home on a pfsense box. While changing some hardware around, the drive was inadvertently was plugged into a FreeAgent GoFlex cable…
Warren Stevens
  • 276
  • 1
  • 5
3
votes
1 answer

How to mount ufs file system under Debian testing?

In order to mount my /dev/sda4 under /mnt/ufs_mount on Debian Testing , i have tried the following commands (it works fine under Debian Jessie): modprobe ufs mount -r -t ufs -o ufstype=ufs2 /dev/sda4 /mnt/ufs_mount and: mount -t ufs -o…
GAD3R
  • 63,407
  • 31
  • 131
  • 192
3
votes
2 answers

Migrate UFS drive from FreeNAS to DragonFly BSD

I'm trying to migrate my home server from FreeNAS 8.3 to DragonFly BSD. In order to shuffle my files about I picked up a Seagate 8Tb Archive disk, attached it via eSATA, formatted it as UFS under FreeNAS then patiently waited about a week for it to…
Andrew
  • 33
  • 3
3
votes
0 answers

Unable to mount UFS2 partition on Linux - ufs_fill_super(): bad magic number

In FreeNAS 9.3, I created a partition (slice?) by doing: fdisk -BI /dev/ada3 bsdlabel -wB /dev/ada3s1 newfs -O2 -U /dev/ada3s1a This drive is now /dev/sdg on Ubuntu 14.04, which I've been unable to mount. I've tried to mount it like so: $ sudo…
Craig Younkins
  • 141
  • 1
  • 5
3
votes
1 answer

Is it possible to store data directly inside an inode on a Unix / Linux filesystem?

According to this Red Hat bug report (which I am trying to reproduce) it looks like the Netapp filer is able to store data directly in the inode, in case of very small files. Considering I had a FS with large inodes, would it be possible to store…
Manu
  • 576
  • 3
  • 15
2
votes
1 answer

Booting FreeBSD alongside Linux

I want to install FreeBSD alongside my Debian, Arch and Kali installs, but I'm having problem creating a bootable USB. I followed the instructions given in the BSD handbook, but my PC doesn't recognise the USB during boot process. I tried $…
saga
  • 1,381
  • 11
  • 36
1
vote
0 answers

Mounting an old Sun CDROM on Linux (Debian Buster)

I have an old CDROM of media content that will have been intended for use on a Sun Unix machine. The CD packaging gives no details of the filesystem type etc. beyond- mount -o ro /dev/sr0 /cdrom Obviously this command was for a Sun workstation. I…
Incans
  • 41
  • 3
1
vote
0 answers

ufs fails on debian

I am a longtime openSUSE user. However, my friend convinced me to give debian a try. When installing, I noticed there was no ext3 option (which I usually use), so I selected ufs. Then I got an error: ufs file system creation failed. I tried…
dorien
  • 333
  • 2
  • 5
  • 12
1
vote
0 answers

How to access a UFS2 formatted drive in OSX/High Sierra?

I found this guide and I was able to successfully compile the ufs executable. I already have OSXFUSE because I needed it earlier for accessing ext4 partitions. I was able to successfully run the ufs command using: ./ufs --dmg /dev/disk7s1 --type ufs…
mrjayviper
  • 1,971
  • 3
  • 25
  • 41
1
vote
2 answers

How many times is the disk accessed?

This is regarding generic UFS. From what I understand when an absolute path is given (eg: /home/userU/file.txt) the disk is accessed for each directory and the file. Hence in this case the disk is accessed 4 times 1 For /, 1 for home/, 1 for…
Nht_e0
  • 43
  • 5
1
2