Filesystem - umount the / (root) file system

Hi all

Is it ok to umount the / (root) file system?

Because recently i had extend the swap space by add the cylinders,
now only found that the cylinders is overlap with the root. Is it ok for future server operation?

partition> print
Current partition table (original):
Total disk cylinders available: 8921 + 2 (reserved cylinders)

Part      Tag    Flag     Cylinders        Size            Blocks
  0       root    wm      67 - 1955       14.47GB    (1889/0/0)  30346785
  1       swap    wu       1 -  132        1.01GB    (132/0/0)    2120580
  2     backup    wm       0 - 8920       68.34GB    (8921/0/0) 143315865
  3 unassigned    wm       0               0         (0/0/0)            0
  4 unassigned    wm       0               0         (0/0/0)            0
  5 unassigned    wm       0               0         (0/0/0)            0
  6 unassigned    wm       0               0         (0/0/0)            0
  7       home    wm    1956 - 8920       53.35GB    (6965/0/0) 111892725
  8       boot    wu       0 -    0        7.84MB    (1/0/0)        16065
  9 unassigned    wm       0               0         (0/0/0)            0

To keep the forums high quality for all users, please take the time to format your posts correctly.

First of all, use Code Tags when you post any code or data samples so others can easily read your code. You can easily do this by highlighting your code and then clicking on the # in the editing menu. (You can also type code tags

```text
 and 
```

by hand.)

Second, avoid adding color or different fonts and font size to your posts. Selective use of color to highlight a single word or phrase can be useful at times, but using color, in general, makes the forums harder to read, especially bright colors like red.

Third, be careful when you cut-and-paste, edit any odd characters and make sure all links are working property.

Thank You.

The UNIX and Linux Forums

No, you obviously can't unless you are using an OS running on a different root, like in faisafe mode boot.

Ouch. Your system is ready to self destroy at any time.

Shutdown it as soon as possible and fix the partition table.

If that machine uses the swap cylinders that are overlapping your root slice you can kiss any data on them goodbye. The only way to unmount root is to shutdown the system. Do what jilliagre says.

You do not have to reboot. Run "swap -d /dev/dsk/c0t0d0s1" (or whatever the appropriate device is) ASAP, though, to remove that swap device.

Then fix the partition table.

Thanks all, i had fixed the partition table.
and increase the swap size by Adding File System swap

Part      Tag    Flag     Cylinders        Size            Blocks
  0       root    wm      67 -  804        5.65GB    (738/0/0)   11855970
  1       swap    wu       1 -   66      517.72MB    (66/0/0)     1060290
  2     backup    wm       0 - 8920       68.34GB    (8921/0/0) 143315865
  3 unassigned    wm       0               0         (0/0/0)            0
  4 unassigned    wm       0               0         (0/0/0)            0
  5 unassigned    wm       0               0         (0/0/0)            0
  6 unassigned    wm       0               0         (0/0/0)            0
  7       home    wm     805 - 8920       62.17GB    (8116/0/0) 130383540
  8       boot    wu       0 -    0        7.84MB    (1/0/0)        16065
  9 unassigned    wm       0               0         (0/0/0)            0

# swap -l
swapfile dev swaplo blocks free
/dev/dsk/c2t0d0s1 31,385 8 1060280 1060280
/opt/myswapfile - 8 1048568 1048568

---------- Post updated at 10:47 AM ---------- Previous update was at 10:34 AM ----------

another question,
if i wanna increase the root Cylinders, how to do that?

Buy another disk, move /export there and grow / size.