05-11-2011
ufs slices info in solaris
how do you get start and end sector of a UFS slice?
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Anyone know if SUN recommends users to install the root parition on 1 single slice or break out the /var , /etc, /opt etc on separate slices?
What if i only have a single hdd that is only 2 GB (1 Reply)
Discussion started by: owls
1 Replies
2. UNIX for Dummies Questions & Answers
Hello all,
I'm ufs file system, how can u use the same disk in another machine with the data in tact? to make it clear, I've an ufs FS in a mount point /file1 ( 8GB). now they decide to reintall the OS. After the reinstall, how can i get the same data as it is? will mounting the disk as /file1... (3 Replies)
Discussion started by: i2admin
3 Replies
3. BSD
Hi, I'm new to BSD and would like to create a dual-boot between Solaris Express Community Edition and FreeBSD.
I would just like to know if the Solaris UFS file system can be written to by BSD?
I know that BSD uses UFS2, but I'm hoping that it is backwards compatible with UFS1 provided that... (0 Replies)
Discussion started by: Johnny SSH
0 Replies
4. Solaris
we have a server runnning solaris 10 (sparc)
this server is attached the a SAN (HP EVA)
we created 23 LUN's and filled them with data.
the we unmounted them and tried to attach the LUN's to a solaris 8 system.
this is where thing get strange...
when we just mount the LUN's it works... (9 Replies)
Discussion started by: robsonde
9 Replies
5. Solaris
Hello, I am new to Solaris so i apologize upfront if my questions seem trivial.
I am trying to install a ZFS file system on a Solaris 10 machine with UFS already installed on it.
I want to run: # zpool create pool_zfs c0t0d0
then: # zfs create pool_zfs/fs
My question is more to... (3 Replies)
Discussion started by: mcdef
3 Replies
6. BSD
I need to shrink a UFS slice with NetBSD on SPARC. seems the only way is backup+reformat. can someone please give me exact commands for that? presumably backup is file-by-file instead of sector-by-sector, but how to preserve permissions/dates/attributes.. ? thanks. (0 Replies)
Discussion started by: orange47
0 Replies
7. Solaris
Hello All,
Good Morning, We are trying to convert the UFS root in to ZFS. Am getting below error. Any one help me out on this ?
bash-3.00# zpool list
NAME SIZE USED AVAIL CAP HEALTH ALTROOT
guru 5.95G 483M 5.48G 7% ONLINE -
bash-3.00# zpool create rpool c2t10d0p0... (4 Replies)
Discussion started by: gowthamakanthan
4 Replies
8. Solaris
I'm prompted to start this thread following my attempt to help on this thread here (see my posts).
I was proposing the OP deep checked a Solaris ufs filesystem using:
# fsck -o full <filesystem node>
however this option does not appear to be valid on Solaris 10.
I've used... (8 Replies)
Discussion started by: hicksd8
8 Replies
9. Solaris
I have a Solaris 10 LDOM installed with UFS and another Solaris 11 LDOM with ZFS. I want to mount a folder on Solaris 10 to Solaris 11. I used the following:
sudo mount -F ufs 10.1.1.44:/export/home/amandeep/workspace /home/amandeep/workspace/mounts/ldom5
and it errors out with:
mount:... (7 Replies)
Discussion started by: amandeepgautam
7 Replies
LEARN ABOUT POSIX
installgrub
installgrub(1M) installgrub(1M)
NAME
installgrub - install GRUB in a disk partition or a floppy
SYNOPSIS
/sbin/installgrub [-fm] stage1 stage2 raw-device
The installgrub command is an -only program. GRUB stands for GRand Unified Bootloader.
installgrub installs GRUB stage 1 and stage 2 files on the boot area of a disk partition. If you specify the -m option, installgrub
installs the stage 1 file on the master boot sector of the disk.
The installgrub command accepts the following options:
-f
Suppresses interaction when overwriting the master boot sector.
-m
Installs GRUB stage1 on the master boot sector interactively.
The installgrub command accepts the following operands:
stage1
The name of the GRUB stage 1 file.
stage2
The name of the GRUB stage 2 file.
raw-device
The name of the device onto which GRUB code is to be installed. It must be a character device that is readable and writable. For disk
devices, specify the slice where the GRUB menu file is located. (For Solaris it is the root slice.) For a floppy disk, it is
/dev/rdiskette.
Example 1: Installing GRUB on a Hard Disk Slice
The following command installs GRUB on a system where the root slice is c0d0s0:
example# /sbin/installgrub /boot/grub/stage1
/boot/grub/stage2 /dev/rdsk/c0d0s0
Example 2: Installing GRUB on a Floppy
The following command installs GRUB on a formatted floppy:
example# mount -F pcfs /dev/diskette /mnt
# mkdir -p /mnt/boot/grub
# cp /boot/grub/* /mnt/boot/grub
# umount /mnt
# cd /boot/grub
# /sbin/installgrub stage1 stage2 /dev/rdiskette
/boot/grub
Directory where GRUB files reside.
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
boot(1M), fdisk(1M), fmthard(1M), kernel(1M), attributes(5)
Installing GRUB on the master boot sector (-m option) overrides any boot manager currently installed on the machine. The system will always
boot the GRUB in the Solaris partition regardless of which fdisk partition is active.
24 May 2005 installgrub(1M)